Try to use "-Xmx" or "-Xms" command
1. for eclipse, goto Run... > At the Arguments tab, Program arguments fill "-Xmx256m" to expand memory from 64 Mb (default) to 256
2. for command line, use "java -Xmx256m [java class file]"
references
http://forums.sun.com/thread.jspa?threadID=5299878&tstart=7http://zeus.cp.eng.chula.ac.th/~cp32/board/viewtopic.php?p=5348&sid=aff9fe42462200ec1e370afe5ee85a90
references
http://forums.sun.com/thread.jspa?threadID=5299878&tstart=7http://zeus.cp.eng.chula.ac.th/~cp32/board/viewtopic.php?p=5348&sid=aff9fe42462200ec1e370afe5ee85a90
ไม่มีความคิดเห็น:
แสดงความคิดเห็น