[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: make subversion pdf doc results in: Exception in thread "main" java.lang.OutOfMemoryError

From: Toralf Förster <toralf.foerster_at_gmx.de>
Date: 2005-12-11 12:07:24 CET

Am Samstag 10 Dezember 2005 23:00 schrieben Sie:
> The OutOfMemory error is a pretty common FOP problem. You can make it go
> away by increasing the size of your Java heap. On Windows, there was a
> .bat file that builds the PDF and you could add parms to the java command
> to increase the heap. -Xms 128 -Xmx 256 or something like that.
>
> I presume you have something similar in a shell script you can modify.
>
> Mark

Right, /usr/bin/fop uses the environment variable FOP_OPTS. It has to be set
to "-Xms128m -Xmx256m" to produce the pdf doc.
This step isn't needed for ps doc.

So, the following works:

tfoerste@n22 ~/devel/svnbook/trunk/src/en $ export FOP_OPTS="-Xms128m
-Xmx256m"; rm book/svn-book.pdf; make all-pdf

Should the possibility to set the environment variable FOP_OPTS be included in
the Makefile ?

BTW, it seems that changing the variable FO_XSLTPROC_OPTS in
src/tools/Makefile.base-vars didn't have any effect on the output :-(

Oh, and last, but not least, is this mailing list the right location for a
(bug) report related to the svn doc ?

-- 
MfG/Regards
Toralf Förster

  • application/pgp-signature attachment: stored
Received on Sun Dec 11 12:09:51 2005

This is an archived mail posted to the Subversion Users mailing list.