question: i'm getting OutOfMemoryExceptions trying to upload an image.

answer: the default heap size of the VM is 64 megs. increase the size at startup by 
specifying the following


  | -Xms128M -Xmx256M
  | 

to the JAVA_OPTS variable inside the run.bat and/or run.sh startup scripts. (if you 
have a "debug" version, don't forget to add it there too).

this will set the min/max heap sizes. feel free to tweak depending upon available 
memory, but don't go below 128M min. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840697#3840697

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840697


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to