Hi,
I'm doing some benchmarks on geoserver and i've encountered serious memory
issues.
I am requesting lots of WFS request (GetFeature with bbox or filters) on two
instances of geoserver 2.1.0.
After about one hour, the performance collapses and the GC logs show memory
problems. On each geoserver, the allocated memory regularly increase until its
maximum (2 Go) after which the GC takes 80% of the cpu time.
I suspect a memory leak but I haven't found anything related in the 2.1.0
version.
Jmap confirms this because after the bench, there is still 180 Mo of
org.eclipse.xsd.XSDElementDeclaration objects, 160 Mo of
org.eclipse.xsd.XSDTypeDefinition objects, 110 Mo of
org.appache.xerces.dom.AttrNSImpl objects, 90 Mo of
org.appache.xerces.dom.TextImpl, and lots of others org.eclipse.xsd,
org.eclipse.emf and org.appache.xerces objects.
I don't know if there is a link but I have found in the tomcat logs lots of
this message:
"GRAVE: The web application [/geoserver] created a ThreadLocal with key of type
[null] (value [null]) and a value of type
[org.geotools.data.postgis.WKBAttributeIO] (value
[org.geotools.data.postgis.WKBAttributeIO@676f0256]) but failed to remove it
when the web application was stopped. This is very likely to create a memory
leak."
And also lots of :
java.util.ConcurrentModificationException
at
org.eclipse.emf.common.util.BasicEList$EIterator.checkModCount(BasicEList.java:1327)
at
org.eclipse.emf.common.util.BasicEList$EIterator.next(BasicEList.java:1275)
at
org.eclipse.xsd.impl.XSDSchemaImpl.changeReference(XSDSchemaImpl.java:2432)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDConcreteComponentImpl.java:1221)
(...)
I would appreciate some help,
Axel Bonnet
________________________________
Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage
exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret
professionnel. Si vous recevez ce message par erreur, merci d'en avertir
imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant
?tre assur?e sur Internet, la responsabilit? d'Atos ne pourra ?tre recherch?e
quant au contenu de ce message. Bien que les meilleurs efforts soient faits
pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne
aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e
pour tout dommage r?sultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for
the addressee; it may also be privileged. If you receive this e-mail in error,
please notify the sender immediately and destroy it. As its integrity cannot be
secured on the Internet, the Atos liability cannot be triggered for the message
content. Although the sender endeavours to maintain a computer virus-free
network, the sender does not warrant that this transmission is virus-free and
will not be liable for any damages resulting from any virus transmitted.
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users