2011/4/20 Andrés Maneiro <[email protected]>: > Hello, > > I'm running geoserver 2.1-snapshot on a tomcat 6 application server. After > some days up with no problems, lately, when I try to get a map from > geoserver I got an outofmemoryerror: due to left permgen space. > > See the log attached for 1 season after restarting the tomcat server. > > The problem seems to be between jvm, tomcat and geoserver due to a bad > management of garbage collection. See this serie of articles: > http://my.opera.com/karmazilla/blog/2008/08/31/permgen-our-workable-solution > > Is someone else suffering this error? Does someone know how can it be > solved?
GeoServer uses a large amount of libraries, as a result it has a large footprint in the permgenspace. I normally give between 128MB and 256MB of perm gen space to GeoServer, and avoid redeploying it without also restarting the container (which is also what the blog suggests). Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
