Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      We have very large jtl files. Chronos tries to load whole document into DOM tree.

      Switch to streaming XML using SAX and StAX.

      For example with 2G jtl file, you get OutOfMemoryException even with -Xmx4g. With streaming api's, memory footprint goes down to 500m+.

      Patch provided

      1. MOJO-1811.patch
        102 kB
        Dragisa Krsmanovic

        Activity

        Hide
        Dragisa Krsmanovic added a comment -

        Adding patch with code changes.

        Doing all XML handling with streamed API's like SAX and StAX.

        Show
        Dragisa Krsmanovic added a comment - Adding patch with code changes. Doing all XML handling with streamed API's like SAX and StAX.
        Hide
        Dragisa Krsmanovic added a comment -

        Not included in the patch. You can also remove the dependency on jaxen.

        Show
        Dragisa Krsmanovic added a comment - Not included in the patch. You can also remove the dependency on jaxen.
        Hide
        Kent Sølvsten added a comment -

        patch applied. Thanx for the help.

        Dependencies also cleaned up a bit.

        The patch will be part of next release, hopefully next week.

        Show
        Kent Sølvsten added a comment - patch applied. Thanx for the help. Dependencies also cleaned up a bit. The patch will be part of next release, hopefully next week.

          People

          • Assignee:
            Kent Sølvsten
            Reporter:
            Dragisa Krsmanovic
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: