Just run your app with these parameters :
-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
Type java -X for detailled help on "non-standard options".
-------------------------------------------------------------- Simon OUALID -------------------------------------------------------------- ARTE FRANCE Analyste Programmeur [EMAIL PROTECTED] Tél : 01.55.00.73.18 Fax : 01.55.00.73.89 -------------------------------------------------------------- |
"Johannes Franz" <[EMAIL PROTECTED]>
09/08/2004 14:44
|
Pour : <[EMAIL PROTECTED]> cc : Objet : OutOfMemoryException |
Hello,
i am buildung a pdf which includes png. The used java library is jimi-1.0.jar. If i include to much png-images i get the OutOfMemoryException. The answer of the FAQ is to increase the memory which is allocated for java. Could you explain me how i can do this? Do you have any other solutions for the OutOfMemoryException? Do you thinks using JAI instead of JIMI could help?
Greetings,
Johannes.