Phenomena: On the Solaris platform, WebLogic reports the out of memory error, and then shuts down. This is because the physical memory of the server is too low.
Solution: Increase the virtual memory of the server.
-
For Windows, set the virtual memory to 2G;
-
For Solaris, set the swap space to 2G.
The commands to set swap on Solaris are:
Mkfile /beaswap swap –a /beaswap
To add new swap space, this command must be run every time a Solaris server is restarted.