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 - javadoc target fails with OutOfMemoryError
Summary: javadoc target fails with OutOfMemoryError
Status: RESOLVED WONTFIX
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-04 17:19 UTC by mdaniel
Modified: 2005-06-17 17:18 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Patch against template.xml to enable user control of maxmemory value (2.63 KB, patch)
2005-04-04 17:20 UTC, mdaniel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.