Re: [Geoserver-users] OutOfMemoryError for geoserver 2.2.1

2012-12-02 Thread cmaul
Gabriele,

the PermGenSpace contains the classes, configurations, data etc.i.e. the
program, the heap which you define with -Xmx and -Xmx contains the objects
at runtime i.e. the working program and is separate from the permanent
space. The classes or  templates for the objects are taken from the
permanent space and put onto the heap filled with the relevant values at
runtime and continually created with new values and destroyed if not needed
anymore. Please see:


http://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&ved=0CFUQFjAE&url=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fmemorymanagement-whitepaper-150215.pdf&ei=x9m7UKC_O4aAiQe11YHABQ&usg=AFQjCNFSYblAnBZ2obiu7mm3BpKhIUX07w
 or

http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html


for a detailed description.
You might as well start with a decent perm size.

-XX:PermSize=96m
-XX:MaxPermSize=128m


-server  has implicitly a MaxPermSpace=64m, if you do not change it.

Cheers

Christian




-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/OutOfMemoryError-for-geoserver-2-2-1-tp5019827p5020208.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] OutOfMemoryError for geoserver 2.2.1

2012-11-30 Thread Gabriele Seitz
Hi there,
I had Geoserver 2.1.1. installed and want to update on 2.2.1. (Tomcat6 on
Debian Sqeeze).
I saved Data-folder and then installed the geoserver.war file by restarting
tomcat. Data is easy to restore, so I do not really care, whether I loose it
or not.

Login as root (with pwd at masterpw.info) or admin (with geoserver)
succeeds, but then I sometimes achieve to change passwords bevor getting an
error, sometimes not.

In the Logfile I find the Error:
2012-11-30 10:47:55,551 ERROR [wicket.Session] - Exception when
detaching/serializing page
java.lang.OutOfMemoryError: PermGen space

Geoserver tells me: Sorry, your session timed out ... 

RAM ist now 1GB, but I do not notice a difference in behaviour. Geoserver
2.2.1. on my machine seems to be much slower than 2.1.1.

Anything else I need to do or that I can check?

Thanks for your help.

Gabriele



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/OutOfMemoryError-for-geoserver-2-2-1-tp5019827.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Keep yourself connected to Go Parallel: 
TUNE You got it built. Now make it sing. Tune shows you how.
http://goparallel.sourceforge.net
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users