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.
I've got a stable OutOfMemoryError when code model preprocesses cnd.modelimpl/test/unit/data/org/netbeans/modules/cnd/modelimpl/trace/FileModel3Test/delay.c
Unfortunately .hprof file is 1G, so I can not attach it here. Nut it is available by request. I also wasn't correct enough stating the problem. I launched o.n.m.cnd.modelimpl.impl.services.ServicesTest and got OOME on another test. But yourkit showed me that it was parse of delay.c who consumed huge amount of memory.
I temporarily commented out the content of delay.c to allow other tests running: http://hg.netbeans.org/cnd-main/rev/a7be0e70f00d Please restore it as soon as the bug is fixed.
I will have a look
Test requires 6G and runs 120(cold)/90(hot) secs. Native one requires ~2G and runs 4 sec The output of -E is empty. It is compile time "delay" for compilers using PP magic
Fixed at sputnik. Changeset: 16256:7250abf9b350
Integrated into 'main-silver', will be available in build *201601120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1b62975a3338 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: updated test after changed clank binary for #253625 - [newcodemodel] OutOfMemoryError when preprocessing delay.c (transplanted from c44166cdfce97cdf05337b8ea872526444a5cfe2)
Fixes of this bug: http://hg.netbeans.org/releases/rev/c44166cdfce9 http://hg.netbeans.org/releases/rev/4ce8241c9cf9 http://hg.netbeans.org/releases/rev/440cccf58669