[GeoNetwork-devel] [GeoNetwork opensource Developer website] #301: saxon trips bug in JIT compiler requiring exclusion clause

#301: saxon trips bug in JIT compiler requiring exclusion clause
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.0 RC2
Component: General | Version: v2.4.3
Keywords: |
---------------------+------------------------------------------------------
Pretty much skyrocketing memory usage the moment anything XSLT is done
when running under jdk 1.6 20. Looked into the hs error file and found:

Current CompileTask:
C2:880 !
net.sf.saxon.event.ReceivingContentHandler.startElement(......)

Turning that into google produced a link to something that makes
everything settle down nicely:

http://www.devcomments.com/Saxon-JVM-crash-Out-of-swap-space-OOM-error-
withsolution-at89036.htm

Later simplified to adding:

-XX:CompileCommand=exclude,net/sf/saxon/event/ReceivingContentHandler.startElement"

Also found to be a problem in jdk 1.5.0_22

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/301&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#301: saxon trips bug in JIT compiler requiring exclusion clause
----------------------+-----------------------------------------------------
  Reporter: simonp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.6.0 RC2
Component: General | Version: v2.4.3
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by simonp):

  * status: new => closed
  * resolution: => fixed

Comment:

Fixed in svn rev 6483

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/301#comment:1&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/geonetwork&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.