Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-5

Improve memory use

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • Parser
    • None

    Description

      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.

      Attachments

        1. optimized.png
          30 kB
          Ortwin Glueck
        2. patch.txt
          21 kB
          Ortwin Glueck
        3. ASF.LICENSE.NOT.GRANTED--profile.png
          30 kB
          Ortwin Glueck

        Activity

          People

            Unassigned Unassigned
            oglueck Ortwin Glueck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: