This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I've reverse engineered web application with +/- 1300 classes. I've created a class diagram for some classes. When I try to save the diagram the OutOfMemoryError (OOME) occur. So, I've shut down the IDE and start it again and ... the reverse engineered model has gone. I've played a bit with storing and OOME and found this: The UML module stores the model like: firstly remove the existing one and then try to store the new one, but when the OOME occur during the module storing, the model file is lost forever. Is it possible as a first step backup the existing model, then save the updated one and then remove the old one? IDE memory setup is: -J-Xms128m -Xmx1024m
http://hg.netbeans.org/uml-main/rev/165abc3d8553
pushed to main-golden. should be available in nearest daily build.
added diagram backup http://hg.netbeans.org/uml-main/rev/a04d869ef2f8
verified in uml-main repo build 20081022 (#164)
Integrated into 'main-golden', will be available in build *200810230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a04d869ef2f8 User: lvv@netbeans.org Log: #150736 OutOfMemoryError during the save action destorys the UML model
pknakal, can you try to switch to Files tab in nb 6.1 and restore corrupted zero project file from local history?
ok, I tried and it should work, I wasn't able to get oom, but I kill java process during saving then gotcorrupted diagram file and was able to restore it from local history. the same should be for project files.
reverted backup fix back as local history already provides better solution http://hg.netbeans.org/uml-main?cmd=changeset;node=2d329adb8269