Bob Tarling 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? > > This is the technique I've seen discussed in a few places - > http://www.venishjoe.net/2009/10/recover-from-out-of-memory-errors.html > - but do we really have that much control while zipping? > > Bob. > > ------------------------------------------------------ > http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2447283 > > 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]] >
Hi Bob, et al., Any chance this may be caused by a buffering flush problem? In the past, I remember to sporadically have this problem when pressing the quit button immediately after the save. Maybe this gives some ideas about the cause: http://bytes.com/topic/java/answers/17982-zipoutputstream-writes-corrupt-zip-files Kind regards, Michiel ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2447305 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]]
