[Mono-dev] WindowsBase in mcs

Alan McGovern alan.mcgovern at gmail.com
Mon Nov 10 14:01:48 EST 2008


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 <lupus at ximian.com> 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
>
> --
> -----------------------------------------------------------------
> lupus at debian.org                                     debian/rules
> lupus at ximian.com                             Monkeys do it better
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081110/6d49d882/attachment.html 


More information about the Mono-devel-list mailing list