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.

Bug 57439

Summary: javadoc target fails with OutOfMemoryError
Product: www Reporter: mdaniel <mdaniel>
Component: Builds & RepositoriesAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Attachments: Patch against template.xml to enable user control of maxmemory value

Description mdaniel 2005-04-04 17:19:15 UTC
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.
Comment 1 mdaniel 2005-04-04 17:20:11 UTC
Created attachment 21360 [details]
Patch against template.xml to enable user control of maxmemory value
Comment 2 Jaroslav Tulach 2005-06-17 11:10:58 UTC
Recently we have split the javadoc build into smaller parts. Is there still need for 
your patch? Or everything works for you now? 
Comment 3 mdaniel 2005-06-17 17:18:28 UTC
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.