Build: NetBeans IDE Dev (Build 200809220201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86
User comments: Just started PC from hibernation, NetBeans IDE was open.
STACKTRACE: (first 10 lines)
java.lang.OutOfMemoryError: Java heap space
Created attachment 70553 [details]
Created attachment 70554 [details]
Most of memory consumption was fixed in issue 124482, the expensive DOM parser was replaced by liter SAX parser. But
still parsing of content Update Centers need a plenty of memory, the biggest part of memory is taken by plugin's
licenses. For a next releases would be best to separate off licenses from Update Center Descriptor and handle them
separately from UCs.
*** Issue 126219 has been marked as a duplicate of this issue. ***
Reassigning to the new "autoupdate/*" owner dlipin.
To significantly decrease the possibility of OOMs while dealing with plugins` licenses we can also dump licenses to
disk while parsing catalog, and then retrieving (reading from disk) them on demand. This will help to avoid storing all
licenses contents in memory. Certainly, such handling will be a little bit slower that existing one.
The proposed patch (can be with bugs) is attached.
Created attachment 77559 [details]
patch for handling licenses using the file system cache
should be fixed together with 149071.
*** Issue 166725 has been marked as a duplicate of this issue. ***
It is not fixed. Still occurred in 200903060201 build. See http://www.netbeans.org/issues/show_bug.cgi?id=166725
Build 200903060201 belongs to the 6.5(.1) codeline which is handled separately from 6.7.
This issue is fixed in recent daily builds and also in 6.7 M3, 6.7 Beta, 6.7 RCx and all futher 6.7 and post-6.7 builds.