Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bf70993adb2c376562d5131e159ade78e3e3ad04
Ticket: 2797879fffffffffffffffffffffffffffffffff
Better memory management
User & Date: zbigniew_b on 2009-05-28 12:14:47
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
     I made a test using Pat's script mkzip.tcl (taken from wiki-page "creating zip file archives from tcl with zlib") - and I wanted to check it out in a bit more difficult conditions, than usual.
    
    On the machine equipped with 64 MB RAM (Linux) I've turned off swap space to limit the available memory size. Then I tried to pack into one ZIP archive 4 files, of sizes (around): 33, 51, 55, 61 MB. The machine had about 44 MB free ("htop" utility's report), so - as you can see - 3 of the files had larger size than available memory (with no swapping possibility). Unfortunately: mkzip.tcl rather quickly gave up, answering "Can't allocate *some_size* bytes". But the zip utility present in the system was able to pack that files into one large archive.
    
    Of course, having the new package will make archives handling now much easier. But perhaps could be possible to make its algorithms even better, to make it (if it's possible at all) quite independent from the available memory size - as it was in case of zip utility?
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "zbigniew_b"
  10. subsystem changed to: "57. zlib"
  11. title changed to: "Better memory management"
  12. type changed to: "RFE"