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.
Created attachment 121688 [details] IDE log NetBeans build 201206291011 JDK 7u5 32-bit I am working on a Maven-based NetBeans platform application, with a JavaEE backend. So I have been running GlassFish from the IDE for the past about 4 hours (with a fair amount of logging going to the output window), and starting and stopping and debugging the front end app. The IDE was using more and more memory, until it now finally is becoming unresponsive. Not completely unresponsive yet, just sluggish. Please see attached the messages.log file and snapshots. I have noticed that this is specific to the 32-bit JDK.
Created attachment 121689 [details] Snapshot
Created attachment 121690 [details] Snapshot
Created attachment 121691 [details] Snapshot
I will provide the link to the heap dump as soon as the upload completes. :)
I opened bug 212479 some time ago. Seems a similar issue.
And finally the heap dump upload is complete. :) https://www.dropbox.com/s/qu7a6bbseue78um/nb72-heapdump-1341308747690.zip
the memory consumption doesn't seem to be very high considering the 61 open maven projects most of which takes up 2-3 MB, but reassigning to maven for evaluation anyway. Milos, can you please look at the heap dump for oddities - like 76 instances of org.netbeans.modules.maven.execute.AbstractMavenExecutor$ReRunAction is it normal?
There is a significantly high number of o.apache.maven.model.Model instances (2700+) compared to the number of o.a.maven.project.MavenProject instances (67) for 7.3 I've reduced the number of Model instances to something like 2x MavenProject as a long term trend, can spike a bit here and there. the sluggish-ness can be explained by you reaching a limit where SoftReferences got released. MavenProject is held by a SoftReference as well, it's generally used though for open (and sometimes not open) proiects, and you ended up in a vicious cycle of loading MavenProject instances and immediately releasing the again.
I'm going to mark it as duplicate of issue 215159, please reopen if he problem persists in 7.3 beta/beta2. Thank you. *** This bug has been marked as a duplicate of bug 215159 ***