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.
java.lang.OutOfMemoryError: Java heap space at java.nio.ByteBuffer.wrap(ByteBuffer.java:350) at java.nio.ByteBuffer.wrap(ByteBuffer.java:373) at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:237) at java.lang.StringCoding.encode(StringCoding.java:272) at java.lang.String.getBytes(String.java:947) at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228) at java.io.File.isFile(File.java:778) at org.netbeans.modules.apisupport.project.universe.ModuleList.findBinaryNBMFiles(ModuleList.java:657) at org.netbeans.modules.apisupport.project.universe.ModuleList.createModuleListFromBinaries(ModuleList.java:623) at org.netbeans.modules.apisupport.project.universe.ModuleList.findOrCreateModuleListFromBinaries(ModuleList.java:563) at org.netbeans.modules.apisupport.project.universe.NbPlatform.getModules(NbPlatform.java:745) at org.netbeans.modules.apisupport.project.ui.customizer.SuiteProperties.<init>(SuiteProperties.java:93) at org.netbeans.modules.apisupport.project.ui.customizer.SuitePropertiesTest.getSuiteProperties(SuitePropertiesTest.java:66) at org.netbeans.modules.apisupport.project.ui.customizer.SuitePropertiesTest.testSuitePropertiesWithAnonymousPlatform
Passes fine on my machine. I don't know of any way to increase the heap on the tester machine so I am just disabling the test in the XTest config. Checking in cfg-unit.xml; /shared/data/ccvs/repository/apisupport/project/test/cfg-unit.xml,v <-- cfg-unit.xml new revision: 1.13; previous revision: 1.12 done
http://xtest.netbeans.org/plugins/plugins_overview.html#jvm We can override xtest.jvm.args property to increase heap size. What size is recommended?
I don't know what size to request because it passes on my machine.
I added -Xmx256m to xtest.jvm.args. The test was included to stable suite. Checking in cfg-unit.xml; /cvs/apisupport/project/test/cfg-unit.xml,v <-- cfg-unit.xml new revision: 1.14; previous revision: 1.13 done