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 received an index out of range exception from the profiler. Will attach the log.
Created attachment 35001 [details] messages.log as instructed in error dialog
I can see that the problem occurred during CPU profiling after java.lang.OutOfMemoryError: Java heap space. You've modified profiling (changed instrumentation filter) and the java.lang.ArrayIndexOutOfBoundsException was thrown. Are you able to reproduce the AIOOB again without the OutOfMemoryError? Note that you should set root methods and/or as much restrictive instrumentation filter as possible to lower profiling overhead and get only the data you are really interested in (unless you want to profile the server itself, not the webapp/ejb). This would help you in preventing the OutOfMemoryError.
or you can increase -Xmx as stated in the message.log you attached.
Right on two counts. I was profiling the app server itself looking for hotspots. I had limited the classes of interest somewhat but, until we know what we're looking for we have to cast the net widely. Also, yes I did notice the OOME. I know it can be difficult to recover gracefully from those, but would it be possible to either isolate the impact to the profiling, displaying a message to that effect and essentially shutting down the profiling module at that point or, if I should always restart NB upon seeing an OOME then add a warning to that effect in the display of the OOME in the first place? - Tim
Actually the OOME can be thrown from anywhere inside the IDE (not only in Profiler) and the Profiler isn't able to detect it and warn the user. Won't fix in 6.0.
Issue #88707 is the same case. *** This issue has been marked as a duplicate of 88707 ***
Integrated into 'main-golden', will be available in build *200904291401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5f222f24d38f User: Jaroslav Bachorik <yardus@netbeans.org> Log: #86703 - resetting the client data in case of OOME