Kannaiyan,

Try turning on -verbose:gc to get more information about the garbage
collection in general.

Also check out this article to learn about how to tune GC:
http://java.sun.com/docs/hotspot/gc/

As mentioned in the above article to remove you might want to
remove any explicit GCs using:
-XX:+DisableExplicitGC

Use this paramater to set the GC interval, this can lengthen the time
between GCs.
-Dsun.rmi.dgc.client.gcInterval=xxx  (where xxx is number of seconds)


HTH,
Mike
----- Original Message -----
From: "Kannaiyan P" <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 8:59 PM
Subject: Jrun with Singleton


> Hello,
>     I have problem on the singleton Design pattern. I store 30 days worth
of
> data on the memory ( approx 1600MB of data on the memory ). When i monitor
> the Top command on the unix server . jrun cpu percentage varies 0.50% to
> 25.50% . it varies continously . I think its  because of the garbage
> collection. Please give me idea how to ignore the singleton class from the
> gargabe collection. I have 9GB memory.
>
> I tried Xnoclassgc on the JVM parameter . Any other way to ignore from GC.
>
> Please let me know if you have any idea.
>
> Thanks
> Kans
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion

                        

Reply via email to