db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Halley Pacheco de Oliveira (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-710) Building the documentation as pdf stops with OutOfMemoryError
Date Wed, 04 Jan 2006 10:35:01 GMT
    [ http://issues.apache.org/jira/browse/DERBY-710?page=comments#action_12361734 ] 

Halley Pacheco de Oliveira commented on DERBY-710:
--------------------------------------------------

Problem solved with: ANT_OPTS="-Xms100m -Xmx200m"

I was using 

ant pdf.ref

and getting:

map2pdf:

dita.map.fo:
     [xslt] Processing /var/www/derby/trunk/temp/refderby.ditamap to /var/www/derby/trunk/temp/refderby_MERGED.xml
     [xslt] Loading stylesheet /var/www/derby/trunk/DITA-OT1.1.2.1/xsl/topicmerge.xsl

BUILD FAILED
/var/www/derby/trunk/build.xml:134: The following error occurred while executing this line:
/var/www/derby/trunk/build.xml:150: The following error occurred while executing this line:
/var/www/derby/trunk/DITA-OT1.1.2.1/conductor.xml:204: The following error occurred while
executing this line:
java.lang.OutOfMemoryError

Now I'm using

#!/bin/sh
ANT_OPTS="-Xms100m -Xmx200m"
export ANT_OPTS
ant html.ref
ant pdf.ref

an it is ok!

topic2pdf:

dita2pdf:

BUILD SUCCESSFUL
Total time: 4 minutes 6 seconds

uname -a
Linux halleypo.homeunix.org 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 athlon
i386 GNU/Linux
ant -version
Apache Ant version 1.6.5 compiled on June 2 2005
java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)


> Building the documentation as pdf stops with OutOfMemoryError
> -------------------------------------------------------------
>
>          Key: DERBY-710
>          URL: http://issues.apache.org/jira/browse/DERBY-710
>      Project: Derby
>         Type: Bug
>   Components: Build tools
>  Environment: Head of trunk.
> uname -a
> Linux atum22 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686 i686 i386 GNU/Linux
> free
>              total       used       free     shared    buffers     cached
> Mem:       1030872    1014104      16768          0      45208     372000
> -/+ buffers/cache:     596896     433976
> Swap:      2096440     587796    1508644
> ant -version
> Apache Ant version 1.6.2 compiled on July 16 2004
> java -version
> java version "1.4.2_02"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
>     Reporter: Oyvind Bakksjo
>     Priority: Minor

>
> The last output seen is:
> dita-preprocess:
> map2pdf:
> dita.map.pdf:
>      [echo] true
> dita.map.fo:
> dita.map.merge:
>      [xslt] Processing .../refderby.ditamap to .../temp/refderby_MERGED.xml
>      [xslt] Loading stylesheet .../DITA-OT1.0.1/xsl/topicmerge.xsl
> BUILD FAILED
> .../build.xml:124: The following error occurred while executing this line:
> .../build.xml:140: The following error occurred while executing this line:
> .../DITA-OT1.0.1/conductor.xml:147: The following error occurred while executing this
line:
> .../DITA-OT1.0.1/ditatargets.xml:104: The following error occurred while executing this
line:
> .../DITA-OT1.0.1/ditatargets.xml:60: The following error occurred while executing this
line:
> java.lang.OutOfMemoryError 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message