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.
Opening large JavaFX project causes IDE to freeze with increasing memory usage. We have a medium/large JavaFX project developed in NB 6.7.1. (118 java files, multiple 3rd party jars and 126 JavaFX script files.) Netbeans 6.8 freezes up during the initial scanning process and the IDE has to be killed. We have developers using Windows XP, Mac OS and Linux and they have all experienced this problem. We have not been able to upgrade because of it. It may be related to an issue we've had with the javafxpackager. You can not increase the -Xmx JVM arguments to the javafxpacker. We have seen OutOfMemory Heap Space issues related to the javafxpackager and have had to change our project to a standard SE with custom javafxc tasks so we can increase the memory limits.
Closing as INCOMPLETE for now. We need more details about the problem. Please, provide a profiling snapshot [1], [2]. There used to be a bug with similar description #179013 that was fixed in Patch1 for NB6.8. The patch should be available soon [3] , could you please re-check it when it's available? [1] http://wiki.netbeans.org/FaqProfileMeNow [2] http://wiki.netbeans.org/FaqMemoryDump [3] http://wiki.netbeans.org/NetBeansPatchesProcess
Need more info.
Created attachment 93922 [details] Netbeans log file that was produced during a project load that froze NB This log is from a Netbeans 6.8 instance started up without any projects open. The I try to open a JavaFX project created under NB6.7.1 After several minutes, the IDE froze with the status: "Finding packages in C;\temp\ClientAppFramwrok\src" 40% Had to kill the process.
I've tried to get more information for you. I did a jmap dump at startup. I then tried to open the JavaFX project, waited until the status was, "Finding packages in C;\temp\ClientAppFramwrok\src 40%". The IDE was none-responsive for many minutes. I did another jmap dump. The first jmap was 66MB and the second, 208MB. I was not able to upload even the smaller file, I got an error that only patches can be that large. I've attached the messages.log file created during this test. I will install the latest nightly to see if anything is fixed. Besides dump files, what other information can I get for you? Can you suggest another way for me to get you these dump files? Maybe a ftp server?
Could you use the VisualVM sampler to create a profiler snapshot of such a situation and attach it to a new issue? - Download the VisualVM from https://visualvm.dev.java.net/download.html - Go to Tools-> Plugins-> Available plugins - Install VisualVM-Sampler module - Run the NetBeans - Right-click on the NetBeans Platform Application node in Visual VM and select Sample - Attach the sampler profile snapshot
Thanks for the advice. I was trying with VisualVM (1.2.2) and it had crashed so was not able to get a after snapshot, but will try the sample plugin.
Created attachment 93963 [details] visualVM sampler output Attached is the VisualVM sampler snapshot after loading the JavaFX project. This maybe OBE, since I installed the nb 6.8 patch and the updates to the FX parser seem to have fixed the IDE freezing issue. The only issue I still have is https://netbeans.org/bugzilla/show_bug.cgi?id=178491 But no one seems to be paying attention to that bug, so will have to stay with 6.7.1
*** Bug 181839 has been marked as a duplicate of this bug. ***
*** Bug 179650 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 183265 ***
verified as duplicate