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.

Bug 212123

Summary: OutOfMemoryError: Java heap space
Product: platform Reporter: mrpc
Component: -- Other --Assignee: Antonin Nebuzelsky <anebuzelsky>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 187679
Attachments: stacktrace

Description mrpc 2012-05-05 13:18:22 UTC
Build: NetBeans IDE Dev (Build 201205040400)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01-415, Java(TM) SE Runtime Environment, 1.6.0_31-b04-415-11M3635
OS: Mac OS X

User Comments:
mrpc: Opened a project, scanned for git changes, ignored a couple of folders and netbeans slowed down way too much for a while. I don't know what action trigered it so I can try to reproduce, but I will try to do everything again later.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2882)
   at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
   at java.lang.StringBuffer.append(StringBuffer.java:224)
   at java.text.MessageFormat.subformat(MessageFormat.java:1208)
   at java.text.MessageFormat.format(MessageFormat.java:836)
Comment 1 mrpc 2012-05-05 13:18:27 UTC
Created attachment 119113 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2012-05-13 22:46:38 UTC
If possible provide a thread dump when the problem happens again:
http://wiki.netbeans.org/GenerateThreadDump

A pointer to a heap dump would help as well:
http://wiki.netbeans.org/FaqMemoryDump

Thanks.