-
1. Re: Has anyone used JVM argument -XX:+UseG1GC for garbage collection on ColdFusion?
carl type3 Feb 28, 2013 6:21 PM (in response to Peter 456)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
-
2. Re: Has anyone used JVM argument -XX:+UseG1GC for garbage collection on ColdFusion?
carl type3 Nov 5, 2013 3:48 PM (in response to Peter 456)Hi Peter,
You may find this reference interesting:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/G1GettingStarted/index.html
Regards, Carl.

