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.
Just open a yaml file or create new one in a trunk build and you obtain: Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2760) at java.util.Arrays.copyOf(Arrays.java:2734) at java.util.ArrayList.ensureCapacity(ArrayList.java:167) at java.util.ArrayList.add(ArrayList.java:351) at org.netbeans.modules.languages.yaml.YamlParser.parse(YamlParser.java:152) at org.netbeans.modules.languages.yaml.YamlParser.parseFiles(YamlParser.java:244) at org.netbeans.napi.gsfret.source.Source.moveToPhase(Source.java:1064) at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1407) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
I can't reproduce in 60 min old trunk. Could you try more recent build?
It was build from this morning. Now I have update and rebuild again and it's still reproducible. We are able to also reproduce on Erno's machine. Just create an yaml file and wait a few seconds. The processor is consumed for 100% percent, so it looks like there is a never ending cycle.
This seems to be fixed by Tor in b88974f215c6.
*** Issue 156072 has been marked as a duplicate of this issue. ***