Can this be improved by using another zip class?

I don't understand where and why the contents is saved. When I experiment
with this, it is nicely flushed out one file at the time so I don't
understand the problem.

        /Linus

PS. I don't have enough patience to get the TPTP Memory Monitor tool to work
in my Ganymede/Vista. I think the TPTP guys need to improve the packaging
and installation instructions.


2010/2/13 Tom Morris <tfmor...@gmail.com>

> On Sat, Feb 13, 2010 at 9:59 AM, Bob Tarling <bob.tarl...@gmail.com>
> wrote:
> > I still see a few defects that make me suspect that there is an out of
> > memory exception happening while saving resulting in a corrupt zip
> > file.
> >
> > Has anyone any ideas how to protect our users from this further than
> > we have already?
>
> The problem with saving zip files is that the entire contents of the
> file need to be buffered in memory (in addition to the copies already
> held by MDR, GEF, etc).
>
> Since zip is the problem, the logical fallback to my mind is to avoid
> zip (ie write things out in a different format).  This presumes that
> you can catch the OOM exception and clean up enough of the zip
> temporary memory to have the memory required to write a .uml file (or
> some other format with low or no additional memory penalty).
>
> Tom
>
> ------------------------------------------------------
>
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2447306
>
> To unsubscribe from this discussion, e-mail: [
> dev-unsubscr...@argouml.tigris.org].
> To be allowed to post to the list contact the mailing list moderator,
> email: [li...@tigris.org]
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2447414

To unsubscribe from this discussion, e-mail: 
[dev-unsubscr...@argouml.tigris.org].
To be allowed to post to the list contact the mailing list moderator, email: 
[li...@tigris.org]

Reply via email to