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

Has anyone used JVM argument -XX:+UseG1GC for garbage collection on ColdFusion?

New Here ,
Feb 28, 2013 Feb 28, 2013

I am hesitant to try to change the JVM Arguments. In the past ColdFusion has failed to restart for me when I changed them. Any advice would be welcome.

11.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 ,
Feb 28, 2013 Feb 28, 2013

Yes Peter have one site running G1GC garbage first collector. Suggest perform some logging or monitoring to know altering GC has good or bad impact.

With G1GC allow for the heap to be much larger, it would be fair to say it is more memory persistent than PARALLELGC which is effective at keeping the heap evacuated. Example JVM args only, where this may work well with PARALLELGC:

-Xmx4096 -XX:+UseParallelGC

this may suit better with G1GC given same load:

-Xmx8192 -XX:+UseG1GC

As always take a copy of your JVM.CONFIG before changes so you got a backup.

HTH, Carl.

PS you might like these references

http://docs.oracle.com/javase/7/docs/technotes/guides/vm/G1.html

http://www.oracle.com/technetwork/java/javase/tech/g1-intro-jsp-135488.html

http://download.oracle.com/javase/7/docs/technotes/guides/vm/G1.html

http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html

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 ,
Nov 05, 2013 Nov 05, 2013
LATEST

Hi Peter,

You may find this reference interesting:

http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/G1GettingStarted/index.html

Regards, 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
Resources