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
사용자 삽입 이미지
Posted by zennken

SWT Template

Eclipse/SWT 2010. 12. 8. 16:41
// Composite
Composite composite = new Composite(tabFolder, SWT.NONE); 
composite.setLayout(new GridLayout(1, false)); 
composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
...
composite.setTabList(new Control[] {...});
Posted by zennken

zennken

달력