xml - EXSLT: No more DTM IDs are available -
i've been searching answer problem day long. i'm creating stylesheet moderate-sized xml document (~1.5mb, ~1000 elements), giving me lot of trouble. it's creating event-time line graph different processing plant equipments. xml generated through sap mii querytempalte thingy, , in /rowsets/rowset/row-format. data processed , stored in local node-set, in /equipments/equipment/event format. node-set processed html, , rendered in browser. now, i'm starting run trouble. can pull data past 5 days, result in ~900 rows of data mii, , processed node-format, resulting in under 900 rows. second hit 1017 rows fetched mii, stylesheet render half-ways, , stops , "no more dtm ids available" exception. now, mii server runs jdk 1.5.x, , i've read, that might problem - thing is, can't that. i'm asking here: there way optimize code?? i've attached links xsl , sample xml.
xsl: http://pastie.org/1566517 samlpe xml: http://pastie.org/1566522
now, sample xml might not yield "fun" visual results, , won't able replicate error. if spot obvoius optimization, i'd love know :) i've been thinking, nice replace/move calculations startoffset, endoffset, etc, can't figure out how.
hope can me! :)
know question old hit same question myself, find issue looks there sap note detailing jvm patch may resolve this:
note#1604623
https://websmp130.sap-ag.de/sap(bd1lbizjptawmq==)/bc/bsp/spn/sapnotes/index2.htm?numm=1604623
one of fixes in note is:
improved resource consumption xslt transformation. fixed resource leak in xslt processing result in error "dtmexception: no more dtm ids available" complex xsls using (recursive) templates. reason problem is, intermediate results of processing step stored in dtms , number of dtms limited 65536.
with change, there new system property "com.sap.jvm.xsltc.enableresourceoptimization". if property set "true", xslt compiler release intermediate results , therefore need less resources. processing of complex xsls should possible. note system property not set per default.
Hi, Can you help me to set com.sap.jvm.xsltc.enableresourceoptimization =true. I couldn't figure out how to change this value
ReplyDelete