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.4 (Build 201310111528) VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 8 User Comments: GUEST: a CougarB: I was just writing and working, and suddenly, NetBeans froze. I took a screenshot of the screen in front of me to preserve my work in a static location. I don't know yet how much I lost. I wasn't doing anything unusual. GUEST: Inicia bien, luego se esta lenteando porque consume muchos recursos de la computadora. Eso seria Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:0) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:0) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:0) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:0) at java.lang.StringBuilder.append(StringBuilder.java:0) at java.lang.StringBuilder.append(StringBuilder.java:0)
Created attachment 146340 [details] stacktrace
I have a Windows 8.1 machine. hp pavilion g7. I find that the CPU usages of Netbeans climbs regularly to 600+ MB, at which point, I have to save everything and kill it with the task manager and restart it. In the incident that was auto-reported, I did end up having to recreate a great deal of work. Fortunately, most of this was content, rather than code, so I didn't lose as much time as I would have if it had been code. If there was any autosave going on, it didn't help me at all. I didn't see any evidence of autosave. I'm not a professional programmer, but in the last 30 years, I have programmed at a hobby level in Basic, Visual Basic, Cold Fusion, Java, JavaScript, jQuery, PHP, and C++. In addition, I was a senior technical writer in a Java house at Fujitsu Software. So I'm not a rank amateur, although my skills do not equal someone with training and experience as a professional developer. As a result, my use of NetBeans is less proficient than many people's. I've used it off and on, but prior to my most recent complex project, I was using ShiftEdit and working directly on my production site. For this project, which is far more complicated with more things to break, I downloaded NetBeans again, because I recognize it's value for complex projects. I'm just not so proficient in using it, and I may not have done everything as I should. Sorry I can't offer more help.
javascript & co.
Lots of strings related to navigator. Lots of strings related to js parser.
(In reply to Tomas Zezula from comment #4) > Lots of strings related to navigator. > Lots of strings related to js parser. I don't know what this means in terms of my work. I use NetBeans for a complex JS/jQuery project with many lines and content with lots of html strings. That's the nature of my project. There are seven user routes through the project, each of which involves hiding everything else, as well as hiding every step except the current one, and keeping example text hidden unless requested by the user. Lots of code and lots of strings is accurate. I'm a hobby programmer, not a professional, which means I don't have all the knowledge that you might have. But my programming is very complex with lots of variables. I've recently shortened the html file, since the template was overly long, to improve performance. I appear to have a memory leak related to closure problems in RequireJS.
Only heapdump #776579 is relevant. There are almos 2 milions of CssNodeElements and also there are 930 000 css structure items. The rest are already solved.
Issues from 8.0.2 with many CssNodeElements are fixed in Bug #253306 *** This bug has been marked as a duplicate of bug 253306 ***