You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Tomas Jetelina (JIRA)" <xa...@xml.apache.org> on 2008/09/30 10:35:44 UTC

[jira] Commented: (XALANJ-2454) ArrayIndexOutOfBoundsException when xalan-doc-cache-off

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

Tomas Jetelina commented on XALANJ-2454:
----------------------------------------

Possible workaround is to use SAX without building DOM, thus replace XSLT with STX or rewrite template to Java.

> ArrayIndexOutOfBoundsException when xalan-doc-cache-off
> -------------------------------------------------------
>
>                 Key: XALANJ-2454
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2454
>             Project: XalanJ2
>          Issue Type: Bug
>      Security Level: No security risk; visible to anyone(Ordinary problems in Xalan projects.  Anybody can view the issue.) 
>          Components: DTM, Xalan, XPath
>    Affects Versions: 2.7.1
>         Environment: Microsoft Windows XP PRO SP2, Java 1.5.0.11, Intel Pentium 1.6 GHz, 1,5 GB RAM
>            Reporter: Tomas Jetelina
>            Priority: Critical
>
> When processing transformation with many files accessed in xsl document() function followed by xPath expression, on 32-bit machine I run very quickly out of memory - http://xml.apache.org/xalan-j/faq.html#faq-N102F9
> Trying <?xalan-doc-cache-off?> brings ArrayIndexOutOfBoundsException in ExpandedNameTable.getType()
> Workaround, no document cache option or improvement in caching management would be very appreciated.

-- 
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-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Re: [jira] Commented: (XALANJ-2454) ArrayIndexOutOfBoundsException when xalan-doc-cache-off

Posted by ke...@us.ibm.com.
I'm not sure if it's still there, but at one point we did experiment with 
an extension function which could be used to flush document()s out of the 
cache, specifically for those applications where a stylesheet is scanning 
through a document which itself is a long list of documents.

If anyone knows whether that still exists, it might help this user.

______________________________________
"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
  -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (
http://www.ovff.org/pegasus/songs/threes-rev-11.html)