You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2008/11/07 14:35:36 UTC

DO NOT REPLY [Bug 46166] New: Loading large XML files takes lots of memory

https://issues.apache.org/bugzilla/show_bug.cgi?id=46166

           Summary: Loading large XML files takes lots of memory
           Product: JMeter
           Version: 2.3.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: sebb@apache.org


When reading XML files in a Listener, JMeter currently loads the whole file
before passing the samples on. This uses a lot of memory.

Loading XML files should be changed to process samples as they are read from
the XML file.

Perhaps also needs to be considered for loading test plans.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 46166] Loading large XML files takes lots of memory

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46166


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Sebb <se...@apache.org>  2008-11-08 06:22:50 PST ---
Turns out it was partly due to creating the TestResultWrapper with all the
samples, and partly because XStream was caching samples in case of a subsequent
reference to them.

Fixed in SVN as of r712398 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=712398 ):

URL: http://svn.apache.org/viewvc?rev=712398&view=rev
Log:
More efficient loading of JTL files
Don't clear Visualizer before loading the file


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org