Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-1844

XMLReaderManager provides neither a way to clear its cache nor does it clear its cache by itself

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.7.1
    • 2.7
    • Other
    • Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
    • None
    • Operating System: All
      Platform: All
    • 28082

    Description

      Considering a highly multithreaded system, where threads have a short living
      time, and some of the threads perform XSLT transformation, but only once, the
      JVM soon reaches memory saturation, since XMLReaders are never re-used.

      I would suggest maybe to keep the ThreadLocal mechanism instead of the map +
      ThreadLocal duet which appears redundant to me, but maybe i am missing some point ?

      André

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            keshlam@alum.mit.edu Joe Kesselman
            andre.doherty@libertysurf.fr Andre Doherty
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment