I'm sad to report that the hotspot exclude instruction has made no
difference:
SEVERE: Servlet.service() for servlet gn-servlet threw exception
java.lang.OutOfMemoryError: Java heap space
at
net.sf.saxon.tinytree.TinyTree.ensureNodeCapacity(TinyTree.java:216)
at net.sf.saxon.tinytree.TinyTree.addNode(TinyTree.java:309)
at
net.sf.saxon.tinytree.TinyBuilder.characters(TinyBuilder.java:311)
at
net.sf.saxon.event.ReceivingContentHandler.flush(ReceivingContentHandler
.java:544)
at
net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContent
Handler.java:275)
at
org.jdom.output.SAXOutputter.startElement(SAXOutputter.java:1025)
at org.jdom.output.SAXOutputter.element(SAXOutputter.java:894)
at
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1093)
at
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1067)
at org.jdom.output.SAXOutputter.element(SAXOutputter.java:897)
at
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1093)
at
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1067)
at org.jdom.output.SAXOutputter.element(SAXOutputter.java:897)
at
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1093)
at
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1067)
at org.jdom.output.SAXOutputter.element(SAXOutputter.java:897)
at org.jdom.output.SAXOutputter.output(SAXOutputter.java:621)
at
org.jdom.transform.JDOMSource$DocumentReader.parse(JDOMSource.java:476)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:354)
at net.sf.saxon.event.Sender.send(Sender.java:164)
at net.sf.saxon.event.Sender.send(Sender.java:49)
at net.sf.saxon.Controller.transform(Controller.java:1550)
at jeeves.utils.Xml.transform(Xml.java:237)
at jeeves.utils.Xml.transform(Xml.java:197)
at
jeeves.server.dispatchers.ServiceManager.dispatchError(ServiceManager.ja
va:770)
at
jeeves.server.dispatchers.ServiceManager.handleError(ServiceManager.java
:484)
at
jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:42
9)
at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:624)
at
jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:185)
at
jeeves.server.sources.http.JeevesServlet.doPost(JeevesServlet.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
________________________________
From: jose garcia [mailto:josegar74@anonymised.com]
Sent: 23 July 2010 09:37
To: Justin Rowles (C)
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] Heap Space
Hi Justin
Seem the problem with Saxon and Java 1.6 with latest updates.
Take a look at:
http://osgeo-org.1803224.n2.nabble.com/Re-GeoNetwork-users-Java-updates-
td4935064.html to solve it
<http://osgeo-org.1803224.n2.nabble.com/Re-GeoNetwork-users-Java-updates
-td4935064.html> Regards,
Jose Garcia
On Fri, Jul 23, 2010 at 10:29 AM, Justin Rowles (C)
<Justin.Rowles@anonymised.com> wrote:
I'm building and running an up-to-date nightly (rev 6295), and I keep
getting OutOfMemory - Heap Space while attempting to either expand the
metadata tab on the search results page or edit metadata.
I'm happy to do any further investigative work suggested - anyone?
Justin.
HTTP Status 500 -
________________________________
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.OutOfMemoryError: Java heap space
net.sf.saxon.tinytree.TinyTree.ensureNodeCapacity(TinyTree.java:219)
net.sf.saxon.tinytree.TinyTree.addNode(TinyTree.java:309)
net.sf.saxon.tinytree.TinyBuilder.startElement(TinyBuilder.java:201)
net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContent
Handler.java:278)
org.jdom.output.SAXOutputter.startElement(SAXOutputter.java:1025)
org.jdom.output.SAXOutputter.element(SAXOutputter.java:894)
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1093)
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1067)
org.jdom.output.SAXOutputter.element(SAXOutputter.java:897)
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1093)
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1067)
org.jdom.output.SAXOutputter.element(SAXOutputter.java:897)
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1093)
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1067)
org.jdom.output.SAXOutputter.element(SAXOutputter.java:897)
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1093)
org.jdom.output.SAXOutputter.elementContent(SAXOutputter.java:1067)
org.jdom.output.SAXOutputter.element(SAXOutputter.java:897)
org.jdom.output.SAXOutputter.output(SAXOutputter.java:621)
org.jdom.transform.JDOMSource$DocumentReader.parse(JDOMSource.java:476)
net.sf.saxon.event.Sender.sendSAXSource(Sender.java:354)
net.sf.saxon.event.Sender.send(Sender.java:164)
net.sf.saxon.event.Sender.send(Sender.java:49)
net.sf.saxon.Controller.transform(Controller.java:1550)
jeeves.utils.Xml.transform(Xml.java:237)
jeeves.utils.Xml.transform(Xml.java:197)
jeeves.server.dispatchers.ServiceManager.dispatchError(ServiceManager.ja
va:770)
jeeves.server.dispatchers.ServiceManager.handleError(ServiceManager.java
:484)
jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:42
9)
jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:624)
jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:185)
jeeves.server.sources.http.JeevesServlet.doPost(JeevesServlet.java:108)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.24 logs.
This email is only intended for the person to whom it is addressed and
may contain confidential information. If you have received this email in
error, please notify the sender and delete this email which must not be
copied, distributed or disclosed to any other person.
Unless stated otherwise, the contents of this email are personal to the
writer and do not represent the official view of Ordnance Survey. Nor
can any contract be formed on Ordnance Survey's behalf via email. We
reserve the right to monitor emails and attachments without prior
notice.
Thank you for your cooperation.
Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 08456 050505
http://www.ordnancesurvey.co.uk
------------------------------------------------------------------------
------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person.
Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice.
Thank you for your cooperation.
Ordnance Survey
Romsey Road
Southampton SO16 4GU
Tel: 08456 050505
http://www.ordnancesurvey.co.uk