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.
Summary: | [newcodemodel] OutOfMemoryError when preprocessing delay.c | ||
---|---|---|---|
Product: | cnd | Reporter: | Vladimir Kvashin <vkvashin> |
Component: | Code Model | Assignee: | petrk |
Status: | VERIFIED FIXED | ||
Severity: | normal | Keywords: | REGRESSION |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Vladimir Kvashin
2015-07-21 17:23:31 UTC
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) |