By GC I assume you mean garbage collection? If so, don't muck with it, let the JVM optimize garbage collection for you. There should never be a need to call the garbage collector directly from code.

-dhs


Dean H. Saxe, CISSP, CEH
[EMAIL PROTECTED]
"Great spirits have often encountered violent opposition from weak minds."
    --Einstein


On Dec 14, 2007, at 1:16 PM, Charlie Stell wrote:

Im looking into performance issues with an application running on CF8.
One of the things Im checking is the GC ,

Does anyone know how to pragmatically invoke GC? I know you can manually click GC if you have Server Monitor available in CfAdmin (which I did until the 30 days was up and the Standard Edition limitations kicked in).

I know also through Server Monitor you can create alerts that can be based on memory stats. and that this alert can invoke GC. Can this alert be created/managed pragmatically?

Based on the JVM Arguments, CF/Jrun will do GC regardless of such alert existing or not - correct?

The server has a single 2.40Ghz Xeon3220 proc and 2 gigs of ram
Its running Microsoft Window Server 2003/Web Ed. SP2 / IIS / CF8 Standard (8,0,0,176276).
Its only use is as a CF8 application server.
Java Version is 1.6.0_01.
The JVM Arguments are:
java.args=-server -Xms1000m -Xmx1000m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC - Dcoldfusion.rootDir={application.home}/../ - Dcoldfusion.libPath={application.home}/../lib - Dcoldfusion.classPath={application.home}/../lib/updates , {application.home}/../lib,{application.home}/../gateway/lib/, {application.home}/../wwwroot/WEB-INF/flex/jars, {application.home}/../wwwroot/WEB-INF/cfform/jars,c:\\coldfusion8\ \cfx\\java\\CFX_PDF.jar

Never had to deal with the JVM... so I'll be reading up on it this weekend, but does anyone see any obvious problems with the JVM Arguments?

-------------------------------------------------------------
Annual Sponsor - Figleaf Software

To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLink
-------------------------------------------------------------

Reply via email to