If you use -XX:MaxPermSize=256m instead of -XX:PermSize=256m, the JVM will use its smaller default starting permsize and grow to the specified limit as needed. This will minimise your JVM footprint, at the cost of a small amount of JVM work each time the permgen is resized (typically when a servlet is used for the first time).
On 23/02/11 17:04, Holmqvist Fredrik wrote: > >> From: Simone Giannecchini >> you need to increase PermGen space not the heap memory per se. > > You can change this with the command-line option -XX:PermSize=256m (for > 256MB). Java loads class code and other things into memory in permgen. > If you have a lot of classes you may run out of memory there. > > You can set it to a large value and then run 'jconsole' to connect to > the java process and look what is actually used after some usage. > > Fredrik Holmqvist > METRIA > www.metria.se > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Ben Caradoc-Davies <[email protected]> Software Engineering Team Leader CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
