Copy link to clipboard
Copied
We have resently installd CF 10 64 bit om three new windows 2008 R2 servers.
One of them keeps generating an error "PermGen Space null" when processing CF script files.
There is nothing special about the scripts resulting in error
we have tried to increse Maxpermsize from 192m to 768m but that had no effect.
the other two servers seems to bee doing fine.
Any ideas what to do?
Copy link to clipboard
Copied
Perhaps enable JVM logging and read the log file to see what is going on with the permanent generation memory statistics.
Enable JVM logging by adding these to JVM args and restart CF:
-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -verbose:gc -Xloggc:cfjvmGC.log
Will create a log file in:
\ColdFusion10\cfusion\bin\cfjvmgc.log
EG:
CF10admin > Server Settings > Java and JVM > JVM Arguments
-server -XX:MaxPermSize=768m -XX:+UseParallelGC -Xbatch -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -verbose:gc -Xloggc:cfjvmGC.log -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random
Note take care since pasting to and from forum page can come across odd. The above line should have no carriage return line feeds.
HTH, Carl.
Copy link to clipboard
Copied
Did you ever track this down? We are having a similar issue.
Copy link to clipboard
Copied
Sorry no but here is some info anyway,
We increased MaxPermSize from 192 to 512
We also increased min and max JVM Heap size to 768 and 2048 respectively.
Since then I think we have not experienced this problem more than once.
We also have one server with the default parameters and it seems to work fine.
I believe that size, and number of simultaneous request/responses have an impact on this.
We will now install the latest updates and after that decide whether to start logging jvm activities or not.
Best regards
Lennart
Skickat: den 28 november 2012 06:44
Till: Lennart Risfelt
Ämne: what happens when you get a "PermGen space null" error?
Re: what happens when you get a "PermGen space null" error?
created by Neo Rye<http://forums.adobe.com/people/Neo+Rye> in ColdFusion - View the full discussion<http://forums.adobe.com/message/4879436#4879436