It seems that on my machine too forever, but I noticed from the task manager that nothing else is happening (low uage processor, Disk I / O). The reason was that while the progress bar continued to show animation, the action was silently undone according to the log file.
To open the log, I used the following steps:
- Click Help
- Click on
- Click "Logfile"
This showed me at the bottom of the log:
SEVERE [org.openide.util.RequestProcessor] java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.HashMap.newNode(HashMap.java:1734) at java.util.HashMap.putVal(HashMap.java:630) at java.util.HashMap.put(HashMap.java:611) at java.util.HashSet.add(HashSet.java:219) at org.netbeans.lib.profiler.heap.DominatorTree.intersect(DominatorTree.java:279) at org.netbeans.lib.profiler.heap.DominatorTree.computeOneLevel(DominatorTree.java:114) at org.netbeans.lib.profiler.heap.DominatorTree.computeDominators(DominatorTree.java:64) at org.netbeans.lib.profiler.heap.HprofHeap.computeRetainedSize(HprofHeap.java:537) at org.netbeans.lib.profiler.heap.HprofHeap.computeRetainedSizeByClass(HprofHeap.java:594) at org.netbeans.lib.profiler.heap.ClassDump.getRetainedSizeByClass(ClassDump.java:102) at org.netbeans.modules.profiler.heapwalk.HeapFragmentWalker.computeRetainedSizes(HeapFragmentWalker.java:100) at org.netbeans.modules.profiler.heapwalk.ClassPresenterPanel$1$1.run(ClassPresenterPanel.java:187) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1393) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2003)
By default, my 64-bit Java VM Heapsize will be limited to 25% of my computer memory (or even the much lower VisualVM built-in limit). To solve this problem for my next attempt, I will try to start VisualVM again as follows:
jvisualvm.exe -J-Xmx16g
After that, the log appears at startup:
Heap memory usage: initial 24,0MB maximum 14563,6MB
JohannesB
source share