Also, If you're actually writing the package to disk, you need free space == size (package) * 2 as you will have to store a temporary full copy of the package as well as the final copy.
Alan. On Mon, Nov 10, 2008 at 7:01 PM, Alan McGovern <[EMAIL PROTECTED]>wrote: > The only other option is for there to be a place on disk which is: > > A) Guaranteed to be writable > B) Guaranteed to have enough space to create the package. > > If those guarantees can be given, I'll gladly make the change. If they > can't, then I don't want to completely break this API just to save memory. > > Alan. > > > On Mon, Nov 10, 2008 at 6:17 PM, Paolo Molaro <[EMAIL PROTECTED]> wrote: > >> On 11/06/08 Alan McGovern wrote: >> > However this use case is likely to never be hit in System.IO.Packaging. >> The >> > API requires that when you 'write' data to a zip archive, the data is >> also >> > kept in memory. If you did try to use a 2gb file with this API, you'd >> end up >> > trying to allocate a 2gb block of memory. >> >> There is no requirement in the API that data is kept in memory, this bug >> needs to be fixed, if you don't know how, at least file a bug report in >> bugzilla so we don't forget about it. >> >> lupus >> >> -- >> ----------------------------------------------------------------- >> [EMAIL PROTECTED] debian/rules >> [EMAIL PROTECTED] Monkeys do it better >> _______________________________________________ >> Mono-devel-list mailing list >> Mono-devel-list@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-devel-list >> > >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list