PDA

View Full Version : Load runtime a large image


phult
10-17-2005, 03:33 AM
Hi All,

When i can't load runtime a large image (about 500K). In debug window, i get a message "Java heap space : Exception stack: java.lang.OutOfMemoryError: Java heap space". Do you have any solution? Please help me.

hqm
10-17-2005, 04:39 AM
Can you send a small test case? It may be that your server is running with too little RAM allocated to the JVM. You should have at least 512M for the server.

The startup script that ships with Laszlo is supposed to start the Java vm with 512M of heap space max.

phult
10-17-2005, 07:21 PM
Thanks so much, hqm.