[ 
https://issues.apache.org/jira/browse/XALANJ-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966151#action_12966151
 ] 

Jochen Stiepel commented on XALANJ-2526:
----------------------------------------

Inside the XStringForFSB class almost all of the memory is used for this String 
XStringForFSB.m_strCache

Accourding to the source: 
http://svn.apache.org/repos/asf/xalan/java/trunk/src/org/apache/xpath/objects/XStringForFSB.java

this is just a cache. Is it possible to disable this "Cache" String? 


> StackOverflowError at at 
> org.apache.xml.serializer.ToStream.characters(ToStream.java:1624)
> ------------------------------------------------------------------------------------------
>
>                 Key: XALANJ-2526
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2526
>             Project: XalanJ2
>          Issue Type: Bug
>      Security Level: No security risk; visible to anyone(Ordinary problems in 
> Xalan projects.  Anybody can view the issue.) 
>    Affects Versions: 2.7.1
>         Environment: Linux, Java 1.6.0_21, Xalan 2.7.1
>            Reporter: Jochen Stiepel
>            Priority: Blocker
>         Attachments: oom_xalan.txt
>
>
> Using the Anttask Junit-Report with an xslt to generate the Junitreport I'm 
> getting this error from the JDK xml parser:
> -----------------------------------------------------------------------------------------------------------
> This is the stacktrace from the JDK Xalan, but below is the output of the 
> "normal" Xalan 2.7.1
> -----------------------------------------------------------------------------------------------------------
> Caused by: java.lang.StackOverflowError
>         at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.Target.execute(Target.java:390)
>         at 
> org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:211)
>         ... 22 more
> Caused by: java.lang.StackOverflowError
>         at 
> com.sun.org.apache.xml.internal.serializer.ToStream.characters(ToStream.java:1457)
>         at 
> com.sun.org.apache.xml.internal.serializer.ToHTMLStream.characters(ToHTMLStream.java:1529)
>         at 
> com.sun.org.apache.xml.internal.serializer.ToStream.characters(ToStream.java:1613)
>         at 
> com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.characters(AbstractTranslet.java:618)
>         at junit_frames.br$dash$replace()
>         at junit_frames.br$dash$replace()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to