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 always get OutOfMemoryError while trying to build NetBeans IDE. It is in o.jruby. Also it is strange that it always deletes and unpack some ruby files. Could you please look at it?
Created attachment 69870 [details] Stack trace.
Did you set ANT_OPTS to -Xmx256M or more? Did it help?
No, even -Xmx768m didn't help.
Tor, have you ever seen this? If not, likely whole Ant output could help, at least the part which preceded the exception to see what is the culprit.
From nbdev thread "javac throws OutOfMemoryError when compiling o.jruby" I got this advice http://wiki.netbeans.org/WorkingWithNetBeansSources#section-WorkingWithNetBeansSources-MachineConfig It helps. But it would be better to modify the ruby build script somehow to not force users to set this extra parameter. Also repeated deleting/expanding issue persists.
this issue started last week for me. It seems to be fixed by the option that Jirka mentioned but if this is the only way then it is really offensive.
JRuby didn't change last week. The entire codebase is gradually growing so the requirements have gone up a bit and since the JRuby portion of the build requires a lot of memory it could be affected by increased memory requirements earlier in the build. It used to be we could build the whole codebase without any extra ant memory settings. Does anyone who knows ant well want to take a stab at auto-setting those two parameters?
I'm not sure how to fix it (and fixing it doesn't seem to be a high enough priority given other open issues)
Was solved in issue 149371. *** This issue has been marked as a duplicate of 149371 ***
Verified.