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.
Created attachment 157877 [details] IDE log OutOfMemoryError happened when I tried to generate CppJNILibrary project from Java application.
heapdump.hprof too big to be attached so I will provide it personally as soon as it's needed.
The most part of the memory was used by Clang. Although, -Xmx128M is too low for NetBeans.
Please, increase heap size http://wiki.netbeans.org/FaqSettingHeapSize