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.
Build: NetBeans IDE 7.3 Beta (Build 201210011125) VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05 OS: Linux User Comments: schkovich: Scanning project. Imported setting from the 7.2 Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at sun.awt.X11.XEvent.get_xkey(XEvent.java:43) at sun.awt.X11.XWindow.handleKeyPress(XWindow.java:1078) at sun.awt.X11.XFocusProxyWindow.handleKeyPress(XFocusProxyWindow.java:81) at sun.awt.X11.XBaseWindow.dispatchEvent(XBaseWindow.java:1099) at sun.awt.X11.XFocusProxyWindow.dispatchEvent(XFocusProxyWindow.java:73) at sun.awt.X11.XBaseWindow.dispatchToWindow(XBaseWindow.java:1066)
Created attachment 125570 [details] stacktrace
Created attachment 126062 [details] message log related to described crash Ubuntu apport is reporting that /home/schkovich/netbeans-dev-201210170002/platform/modules/lib/amd64/linux/libjnidispatch-340.so crashed. Java will be taking almost the entire CPU, then start throwing out of memory exception and finally will crash. However, changing memory settings did the trick. Using following settings background scanning finished successfully: netbeans_default_options="--fontsize 14 --laf javax.swing.plaf.metal.MetalLookAndFeel -J-client -J-Xss12m -J-Xms192m -J-XX:PermSize=192m -J-XX:MaxPermSize=1024m -J-Xmx2048m -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled -J-XX:+UseParNewGC -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true"
Created attachment 126063 [details] thread dump related to crash
Heap dump is too big to be attached even when compressed. Here is download link: http://ubuntuone.com/6U3bKYnUq9seqq1tciidRT
From the log I see that the first OOME is thrown from org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl I cannot spot something wrong with the import of old settings. Increasing the default -Xmx768m to -Xmx2048m fixed the problem if I understand correctly. re-assigning for evaluation.
Could it be connected to the fix Petr committed today: http://netbeans.org/bugzilla/show_bug.cgi?id=219925
Created attachment 126253 [details] lof file Exactly the same use case (initial scan after importing project from NB 7.2) is not giving the same exception any more. I am getting java.lang.OutOfMemoryError: Java heap space Heap dump: http://ubuntuone.com/3t22TYidRpytXEDHsuXf76 There is something strange it the message log: IDE is scanning/normalizing files that are not part of the open project. Further on WARNING [CssEmbeddingProvider]: Unexpected snapshot type: 'text/x-twig'; expecting 'text/html' looks odd.
Petr, did you already have a chance to evaluate this OOME? Thanks!
I have to admit, that I haven't time yet. I'm going to look at it asap.
I went through and this should be already fixed in NB 7.4.