On 8 Jul 2006, at 19:26, Colin Davis wrote: > It seems that there amy be optimizations that can be made to the > JVM, in telling it how and when to do the GC for Freenet. > I'm not familiar enough with freenet to know which would be the > best stragegy, but I'm looking for options. > http://java.sun.com/docs/hotspot/gc1.4.2/faq.html > > Any other suggestions on lowering my CPU usage are welcome. It > seems like the load is usually low, but spikes high- It might be > FEC, or it might be GC in the JVM.
Manually invoking the GC can be counter-productive unless you really know what you are doing. The best way to address CPU issues is to run a profiler to see what is causing the problem. Ian.
