Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

what happens when you get a "PermGen space null" error?

New Here ,
Oct 10, 2012 Oct 10, 2012

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?

1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 10, 2012 Oct 10, 2012

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Nov 27, 2012 Nov 27, 2012

Did you ever track this down? We are having a similar issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 28, 2012 Nov 28, 2012
LATEST

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

Från: Neo Rye

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources