[Xerte-dev] Re: example_zipper issue revisited
Smith, John
J.J.Smith at gcu.ac.uk
Thu May 1 10:31:58 BST 2014
Fair enough, I don't know enough about how it works to know exactly what is going on under the hood and it was hypothetical...
Regards,
John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA
Please address ALL support requests to hlsblt at gcu.ac.uk where one of the School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin [david at palepurple.co.uk]
Sent: 01 May 2014 10:23
To: For Xerte technical developers
Subject: [Xerte-dev] Re: example_zipper issue revisited
Hi,
> The zipper creates a blank object (<0.1Mb memory used)
> The library loads all the other files individually and zips them into the object (0Mb -> compressed size of all js/html is perhaps around 1-2Mb or under)
> The library then loads the mp4 (now it has the object = 2Mb and the video = 62Mb in memory)
Except it's not in memory.
The zip_file class has an option set (inmemory = 0) which should make it
write to a temporary file (and not store the zip itself in memory).
David.
--
Pale Purple Ltd
PHP Web application development and support
http://www.palepurple.co.uk
@PalePurpleLtd
07792 380669 / 0845 0046746
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
Glasgow Caledonian University is a registered Scottish charity, number SC021474
More information about the Xerte-dev
mailing list