home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / compress / 3155 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.8 KB

  1. Path: sparky!uunet!mcsun!corton!chorus!octave.chorus.fr!jloup
  2. From: jloup@chorus.fr (Jean-loup Gailly)
  3. Newsgroups: comp.compression
  4. Subject: Re: MS-DOS ZIP 1.9 - How much memory needed?
  5. Message-ID: <349@chorus.chorus.fr>
  6. Date: 1 Sep 92 11:53:30 GMT
  7. References: <9209010105.AA06366@enet-gw.pa.dec.com>
  8. Sender: jloup@chorus.chorus.fr
  9. Reply-To: jloup@chorus.fr (Jean-loup Gailly)
  10. Lines: 29
  11.  
  12. Jim Reisert <reisert@mast.enet.dec.com> runs out of memory
  13. with zip 1.9 on MSDOS.
  14.  
  15. You can significantly reduce the memory requirements if you compile
  16. zip with -DSMALL_MEM. This will reduce a little the compression speed
  17. and may have a very small effect on the compression ratio. The zip
  18. files produced are of course still compatible with pkunzip 1.93a and
  19. unzip 5.0. You can try also -DMEDIUM_MEM (intermediate between SMALL_MEM
  20. and the default which uses more memory).
  21.  
  22. If you are seriously short of memory, you can also reduce the window
  23. size, for example by compiling zip with -DWSIZE=8192.  The zip files
  24. will still be compatible with pkunzip 1.93a and unzip 5.0, but this
  25. will of course reduce the compression ratio.
  26.  
  27. zip was designed to be portable, and runs on a variety of architectures
  28. from 16 bit machines to 64 bit Crays.  I ported zip to MSDOS, but I do
  29. not wish to make it an MSDOS specific program. In particular, I do not
  30. intend to take advantage of EMS memory. I should tune the behaviour of
  31. zip dynamically, depending on the available memory size, but for the
  32. moment I prefer to spend time improving the compression algorithm.
  33. (The sizes of the hash table, string match buffers and IO buffers are
  34. for the moment determined statically and should be dynamic.)
  35.  
  36. Jean-loup Gailly
  37. jloup@chorus.fr
  38.  
  39. PS: make sure to use zip19p1.zip, not zip19.zip. The patch level 1
  40.     version includes important bug fixes.
  41.