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.
Summary: | MEMORY LEAK: java.lang.IllegalStateException from org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport | ||
---|---|---|---|
Product: | javaee | Reporter: | capey0 |
Component: | JSP | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.0.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | messages log |
Description
capey0
2014-11-19 23:04:08 UTC
(In reply to capey0 from comment #0) > Created attachment 150580 [details] > messages log > > See also https://netbeans.org/bugzilla/show_bug.cgi?id=246329 > > I have exactly the same memory issues as described in the above-mentioned > bug report. The difference being my OS and my JDK (Windows 7-32 and JDK 7). No, issue #246329 is completely different issue from yours. It can be reproduced on Mac OS X only. > After extended use the memory in task manager reports anywhere from 620MB to > 710MB. The NB Performance toolbar incorrectly reports the memory usage as > 390+MB and never goes over 400MB, which is completely false. These numbers are. Note that NB Performance toolbar shows the size of java heap (which can be specified via -Xmx option), while task manager reports memory used by java process. > I will attach the messages.log > > When in this state the IDE will not refresh the Project and Navigator > viewports and the code viewport is very slow to react to any user input. messages.log is full of java.lang.IllegalStateException from org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport. This can cause the problems you see in Projects and Navigation. Reassigning to asp for further investigation. (In reply to Tomas Hurka from comment #1) > (In reply to capey0 from comment #0) > > Created attachment 150580 [details] > > messages log > > > > See also https://netbeans.org/bugzilla/show_bug.cgi?id=246329 > > > > I have exactly the same memory issues as described in the above-mentioned > > bug report. The difference being my OS and my JDK (Windows 7-32 and JDK 7). > No, issue #246329 is completely different issue from yours. It can be > reproduced on Mac OS X only. > > > After extended use the memory in task manager reports anywhere from 620MB to > > 710MB. The NB Performance toolbar incorrectly reports the memory usage as > > 390+MB and never goes over 400MB, which is completely false. > These numbers are. Note that NB Performance toolbar shows the size of java > heap (which can be specified via -Xmx option), while task manager reports > memory used by java process. > > > I will attach the messages.log > > > > When in this state the IDE will not refresh the Project and Navigator > > viewports and the code viewport is very slow to react to any user input. > messages.log is full of java.lang.IllegalStateException from > org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport. This can cause > the problems you see in Projects and Navigation. Reassigning to asp for > further investigation. I have since updated the IDE to 802 and the issue still happens - the symptoms are as described above. The performance toolbar show 390+MB while NetBeans.exe in task manager shows 600-700MB and the java.exe process that is linked to NetBeans.exe uses about 180MB. Performance is horrendous - refresh rates are ridiculous - just switching from one file to another can take over 30 seconds. The only way to temporarily "fix" the issue is to restart the IDE completely. (In reply to capey0 from comment #2) > (In reply to Tomas Hurka from comment #1) > > (In reply to capey0 from comment #0) > > > Created attachment 150580 [details] > > > messages log > > > > > > See also https://netbeans.org/bugzilla/show_bug.cgi?id=246329 > > > > > > I have exactly the same memory issues as described in the above-mentioned > > > bug report. The difference being my OS and my JDK (Windows 7-32 and JDK 7). > > No, issue #246329 is completely different issue from yours. It can be > > reproduced on Mac OS X only. > > > > > After extended use the memory in task manager reports anywhere from 620MB to > > > 710MB. The NB Performance toolbar incorrectly reports the memory usage as > > > 390+MB and never goes over 400MB, which is completely false. > > These numbers are. Note that NB Performance toolbar shows the size of java > > heap (which can be specified via -Xmx option), while task manager reports > > memory used by java process. > > > > > I will attach the messages.log > > > > > > When in this state the IDE will not refresh the Project and Navigator > > > viewports and the code viewport is very slow to react to any user input. > > messages.log is full of java.lang.IllegalStateException from > > org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport. This can cause > > the problems you see in Projects and Navigation. Reassigning to asp for > > further investigation. > > I have since updated the IDE to 802 and the issue still happens - the > symptoms are as described above. The performance toolbar show 390+MB while > NetBeans.exe in task manager shows 600-700MB. Performance is horrendous - > refresh rates are ridiculous - just switching from one file to another can > take over 30 seconds. The only way to temporarily "fix" the issue is to > restart the IDE completely. Some more observations: This issue seems to occur when having multiple files open in the editor (of multiple different types (in my case: jsp, java, css, js)). The problem progressively gets worse the more I switch between and edit/save different files. The ISE is just a warning (though deserves some investigation). Please provide a heapdump and reopen so we can investigate the leak. http://wiki.netbeans.org/FaqMemoryDump |