[PPower4] java.lang.OutOfMemoryError
Dear ppower4 users, In a growing presentation I get the following message if I continue including more figures: This is PPower4 version 0.8.4. java.lang.OutOfMemoryError: at java.lang.StringBuffer.expandCapacity(StringBuffer.java) at java.lang.StringBuffer.append(StringBuffer.java) at com.etymon.pj.PdfParser.readUntil(PdfParser.java:163) at com.etymon.pj.PdfParser.getObjects(PdfParser.java:40) at com.etymon.pj.Pdf.readFromFile(Pdf.java:789) at com.etymon.pj.Pdf.init(Pdf.java:53) at de.tu_darmstadt.sp.pp4.PP4Pages.work(PP4Pages.java:718) at de.tu_darmstadt.sp.pp4.PPower4.main(PPower4.java:174) Anyone can give me hint on that? I'm using java -version java version "1.1.7B" and pdfTeX, Version 3.14159-13d (Web2C 7.3.1) Thanks Fabrizio
Re: java.lang.OutOfMemoryError
Valmor de Almeida writes: On a few occasions I have ran into this memory error message (PPower4 version 0.8.4) [1][2][3][4][5java.lang.OutOfMemoryError at de.tu_darmstadt.sp.pp4.PP4Pages.append(Compiled Code) You should try to increase the heap size of your java interpreter. Add an option to the java command in the ppower4 command script. The command "java -X" lists the possible (non-standard) options. You may need -Xmxsizeset maximum Java heap size. example: -Xmx64m Regards, Klaus P.S. Why do you run the post processor? You seem not to have used \pause in your document up to page 5 -- Klaus Guntermann[EMAIL PROTECTED] FG Systemprogrammierung, FB Informatik, TU Darmstadt Wilhelminenstr. 7, D-64283 Darmstadt
Re: java.lang.OutOfMemoryError
[1][2][3][4][5java.lang.OutOfMemoryError at de.tu_darmstadt.sp.pp4.PP4Pages.append(Compiled Code) You should try to increase the heap size of your java interpreter. Regards, Klaus Thanks. I will certainly try it. P.S. Why do you run the post processor? You seem not to have used \pause in your document up to page 5 -- Yes. In this case the combination pdflatex/foiltex/hyperref would suffice; I think. I used the post processor because I was trying to recycle an existing document as a template. Also I do not know how to incorporate backgrounds on pdflatex/foiltex. Would you or other members of the list know that? Thanks, -- Valmor de Almeida ORNL
Re: java.lang.OutOfMemoryError
to recycle an existing document as a template. Also I do not know how to incorporate backgrounds on pdflatex/foiltex. Would you or other members of the list know that? Thanks, Valmor de Almeida The latest pdftex.def has \pagecolor supported. So it is a simple matter of issuing \pagecolor{clr}. However I wish I had the option of vertical gradient defined in background.sty. I wonder whether the definitions in background.sty could be incorporated into color.sty/pdftex.def. Thanks. -- Valmor de Almeida ORNL