Input as follow at command line

rcp_applicatoin_name.exe -vmargs -Xmx1G

Set maximum Java heap size as 1GB  

Check allocated size:
System.out.println(java.lang.Runtime.getRuntime().maxMemory()); 
Posted by zennken

zennken

달력