By W.ZH. Mar 30, 2009
In the weblogic server, after several times deployment, you may get the OutOfMemoryError like this:
<Feb 5, 2009 9:41:58 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
Cause and Solve:
This may be caused by the default setup of the RAM for your Weblogic domain , it is too small.
Go to your domain directory, under the bin you will find a script called,
This file in fact is called by the startWebLogic.sh when yout domain start. Find the line with
in crease them to right number as right to your machine. then restart every thing…
This should solve your problem.