...
On the Eclipse launch Shortcut :Properties add the following to the Target:
C:\eclipse_new\eclipse\eclipse.exe -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=1024M
(click to enlarge)
VM args in the eclipse Run configuration (Menu path Run->Run... Expand Generic Server & select Oracle OC4J Standalone & click on the Arguments tab:
...