Phew - thanks Mark!
On 03/01/2018 16:41, Mark Waddingham via use-livecode wrote:
On 2018-01-03 17:25, Ben Rubinstein via use-livecode wrote:
I want an app running unattended on a Windows VM to zip up a folder
(on a regular basis).
I've not used the revZip library before: when I look at it the first
thing I notice is that first step, according to the Dictionary is:
Use the revZipOpenArchive command to load a zip archive into memory
It's the "into memory" part that bothers me. The folder is probably
around 125 - 150MB in total; the zip file I'd expect to be 25MB. I
know that we sometimes run into horrible memory problems on these
Windows VMs, so this makes me nervous.
It doesn't load the whole archive into memory - just the 'central directory' -
which is the list of files which are present in the zip.
Extracting data from the zip file occurs when you request it - and then only
the bits you ask for.
Warmest Regards,
Mark.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode