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.
The Ant "javadoc" task supports an optional "maxmemory" attribute which (when I filled it in with my system RAM size of 2G) allows the openide javadoc target to succeed. Attached will be a patch against nbbuild/javadoctools/template.xml that allows the user to set the maxmemory to a value that is meaningful on their system. I am not familiar enough with the build system to include a patch that will create a "reasonable" default, but suspect it will be a trivial task for those in the know.
Created attachment 21360 [details] Patch against template.xml to enable user control of maxmemory value
Recently we have split the javadoc build into smaller parts. Is there still need for your patch? Or everything works for you now?
I can confirm that with today's CVS checkout, the org-netbeans-modules-apisupport-apidocs.nbm builds successfully. I still think having this parameter is a Good Thing(tm), but it does not appear to be required anymore.