commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Glück (JIRA) <j...@apache.org>
Subject [jira] Resolved: (SANDBOX-166) Improve memory use
Date Thu, 10 Aug 2006 09:19:16 GMT
     [ http://issues.apache.org/jira/browse/SANDBOX-166?page=all ]

Ortwin Glück resolved SANDBOX-166.
----------------------------------

    Fix Version/s: Nightly Builds
       Resolution: Fixed
         Assignee: Ortwin Glück

Patch committed.

I have added some more test coverage for the CharBuffer class, recycling some of Oleg's test
code for a related class in the HttpComponents project. Now the CharBuffer handles null appends
safely.

> Improve memory use
> ------------------
>
>                 Key: SANDBOX-166
>                 URL: http://issues.apache.org/jira/browse/SANDBOX-166
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: CSV
>    Affects Versions: Nightly Builds
>            Reporter: Ortwin Glück
>         Assigned To: Ortwin Glück
>             Fix For: Nightly Builds
>
>         Attachments: optimized.png, patch.txt, profile.png
>
>
> The parser is currently a real memory burner. I fed it a 4MB CSV file and ran the TPTP
profiler.  As you can see the parser creates around 100MB of garbage whereas it could (in
really optimized) use around 4MBs.  Such figures are not acceptable within a server environment.
Please attach insights and patches to this issue report.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


Mime
View raw message