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.
This issue was reported manually by jhavlin. It already has 1 duplicates Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25 OS: Linux User Comments: GUEST: Was just restarting netbeans. Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:3664) at java.lang.StringBuffer.toString(StringBuffer.java:671) at org.openide.filesystems.XMLMapAttr$Attr.decode(XMLMapAttr.java:657) at org.openide.filesystems.XMLMapAttr.createAttributeAndDecode(XMLMapAttr.java:146) at org.openide.filesystems.DefaultAttributes$Table$3.internalStartElement(DefaultAttributes.java:1030) at org.openide.filesystems.DefaultAttributes$ElementHandler.startElement(DefaultAttributes.java:1199)
Created attachment 156389 [details] stacktrace
The issue is caused by scanning of Python sources. There is a lot of string instances held by CachingIndexer$LanguageIndex for PythonLanguage in the heap dump. Instances of class org.netbeans.modules.python.editor.PythonParerResult have retained size of 463 MB. Reassigning to python/Code. Please evaluate. Thank you.
Thank you for your report. This has been fixed in Development and the forthcoming 8.1 release as a result of the GSF-to-CSL conversion performed last winter. No patch is available for 8.0.2 Leaving this open until 8.1 FCS
Unable to reproduce. I believe this has been fixed in the .151118 release or the Python plugin, available from the update center in NetBeans IDE 8.1. If I am wrong, please reopen with a reproducible test case, and my apologies.