On Sat, Feb 13, 2010 at 9:59 AM, Bob Tarling <[email protected]> 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: [[email protected]]. To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
