Ticket #301 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

saxon trips bug in JIT compiler requiring exclusion clause

Reported by: simonp Owned by: geonetwork-devel@…
Priority: major Milestone: v2.6.0 RC2
Component: General Version: v2.4.3
Keywords: Cc:

Description

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

Change History

Changed 3 years ago by simonp

  • status changed from new to closed
  • resolution set to fixed

Fixed in svn rev 6483

Note: See TracTickets for help on using tickets.