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 267791 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 230493
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-31 01:12 UTC by MorPheuZL
Modified: 2016-09-02 19:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 225992


Attachments
stacktrace (2.96 KB, text/plain)
2016-08-31 01:12 UTC, MorPheuZL
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MorPheuZL 2016-08-31 01:12:50 UTC
This bug was originally marked as duplicate of bug 241142, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Mac OS X

User Comments:
MorPheuZL: IDE became unresponsive and was using 300%+ CPU. ALl I did was copy and paste about 30 lines of code.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.lang.SecurityManager.getClassContext(SecurityManager.java:0)
   at org.netbeans.TopSecurityManager.checkPropertyAccess(TopSecurityManager.java:278)
   at java.lang.System.getProperty(System.java:717)
   at org.netbeans.Stamps.produceRelativePath(Stamps.java:988)
   at org.netbeans.Stamps.findRelativePath(Stamps.java:1021)
   at org.netbeans.JarClassLoader$JarSource.getIdentifier(JarClassLoader.java:869)
Comment 1 MorPheuZL 2016-08-31 01:12:52 UTC
Created attachment 161834 [details]
stacktrace
Comment 2 Tomas Hurka 2016-09-02 19:39:35 UTC
Retained size of com.apple.laf.AquaTabbedPaneContrastUI#2 is 222,104,310 bytes. This memory leak is caused by JDK bug JDK-8017284 https://bugs.openjdk.java.net/browse/JDK-8017284

*** This bug has been marked as a duplicate of bug 230493 ***