[dbdoclet] Re: OutOfMemory Errors with DbDoclet
- From: Michael Fuchs <michael.fuchs@xxxxxxxxxxxxxxx>
- To: Todd Flinders <Todd.Flinders@xxxxxxxxxx>, dbdoclet@xxxxxxxxxxxxx
- Date: Tue, 05 Jun 2007 07:36:54 +0200
To give javadoc more memory on the command line you have to use the
parameter -J-Xmx2048m. To increase the memory
for the script dbdoclet you must change the call of javadoc near the end
of the file. The current standard setting is -J-Xmx256m.
I will increase it in the next release.
Todd Flinders schrieb:
> Okay, I've found a way to get this to work usng Tidbit.
>
> If I modify the java statement in /usr/share/dbdoclet/bin/dbdtidbit to
> have more memory, tidbit will successfully run, even when using
> private visibility.
>
> However, I'm having other issues with tidbit, and haven't been able to
> figure out how to get the command line dbdoclet to run without running
> out of memory.
>
> >>>Todd.Flinders@xxxxxxxxxx 05/31/07 5:13 pm >>>
>
> I used tidbit to split the XML and ran dbdoclet against just the public
>
> visibility. This actually ran and generated a 662 page document.
>
> However, I need to generate a document against the private visibility,
>
> and I'm still getting OutOfMemory errors.
>
>
> Is dbdoclet known to only work with small projects or am I just
>
> foolishly doing something wrong? Sorry for being new. Thanks for your
>
> help!
>
>
> >>>Todd.Flinders@xxxxxxxxxx 05/31/07 3:27 PM >>>
>
> Hello,
>
>
>
> I'm trying to use dbdoclet for the first time. I also have no
>
> experience with fop.
>
>
>
> When I run dbdoclet, I eventually get the following out of memory error
>
> (it takes about 5 and a half minutes):
>
>
>
> BUILD FAILED
>
> /home/flindet/dev/dbdoclet/build.xml:360: The following error occurred
>
> while executing this line:
>
> /home/flindet/dev/dbdoclet/build.xml:321: java.lang.OutOfMemoryError:
>
> Java heap space
>
>
>
> I have 2GB of RAM in my workstation, and while attempting to resolve
>
> this issue I have allowed dbdoclet access to 2048MB of heap space. (I
>
> also tried smaller values.)
>
>
>
> I also get a series of errors and warnings leading up to this. Attached
>
> is my output from dbdoclet.
>
>
>
> Errors include:
>
>
>
> 1. Failure to find background image.
>
> 2. Failure to find hyphenation pattern.
>
> 3. Numerous paragraph and page overflows.
>
> 4. goToPreviousSimplePageMaster() on the first page called
>
>
>
> I do have quite a few classes, some with particularly long package
>
> names.
>
>
>
> I generated my build.xml with dbdoclet's tidbit. As far as I can tell,
>
> I've disabled fully-qualified names and have wrapping enabled. I'm
>
> attaching my build.xml for reference.
>
>
>
> Environment:
>
> dbdoclet-1.8-218 (via rpm)
>
> Apache Ant version 1.7.0 compiled on December 13 2006
>
> java version 1.5.0_10
>
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
>
> Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)
>
> OpenSUSE 10.2
>
> Linux HQISB-7Y2GF61 2.6.18.8-0.3-default #1 SMP Tue Apr 17 08:42:35 UTC
>
> 2007 i686 i686 i386 GNU/Linux
>
>
>
> Can anyone assist in resolving any of my issues? I've been searching
>
> Google for hints on dbdoclet and fop that may apply, but so far I've not
>
> made progress.
>
>
>
> Your help is greatly appreciated.
>
>
>
>
> CONFIDENTIALITY NOTICE: This communication with its contents may contain
>
> confidential and/or legally privileged information. It is solely for the
>
> use of the intended recipient(s). Unauthorized interception, review, use
>
> or disclosure is prohibited and may violate applicable laws including
>
> the Electronic Communications Privacy Act. If you are not the intended
>
> recipient, please contact the sender and destroy all copies of the
>
> communication.
>
>
> CONFIDENTIALITY NOTICE: This communication with its contents may contain
>
> confidential and/or legally privileged information. It is solely for the
>
> use of the intended recipient(s). Unauthorized interception, review, use
>
> or disclosure is prohibited and may violate applicable laws including
>
> the Electronic Communications Privacy Act. If you are not the intended
>
> recipient, please contact the sender and destroy all copies of the
>
> communication.
>
>
>
> CONFIDENTIALITY NOTICE: This communication with its contents may contain
> confidential and/or legally privileged information. It is solely for the
> use of the intended recipient(s). Unauthorized interception, review, use
> or disclosure is prohibited and may violate applicable laws including
> the Electronic Communications Privacy Act. If you are not the intended
> recipient, please contact the sender and destroy all copies of the
> communication.
>
- References:
- [dbdoclet] Re: OutOfMemory Errors with DbDoclet
- From: Todd Flinders
Other related posts:
- » [dbdoclet] OutOfMemory Errors with DbDoclet
- » [dbdoclet] Re: OutOfMemory Errors with DbDoclet
- » [dbdoclet] Re: OutOfMemory Errors with DbDoclet
- » [dbdoclet] Re: OutOfMemory Errors with DbDoclet
- » [dbdoclet] Re: OutOfMemory Errors with DbDoclet
- [dbdoclet] Re: OutOfMemory Errors with DbDoclet
- From: Todd Flinders