regarding heap size

Hello java community,

I have a problem regarding heap size..... and my work environament is windowsxp, MyEclipse5.5A , WebSphere8.1 ..........

when i am develping an EJB in MyEclipse at one time it is saying that"Memory is not enough and may be crash occurs and Database will fail(due to memory-- suggested that to increase heap size and if not close the Eclipse and restart once again(JVM's memory will free)) " ....

In this case how can i change heap size in MyEclipse.. and as i think if heap memory increased with out knowing how much it requried it will effect when running application( Garbage Collecter may effect due to rapid increase of memory) .....

how can i solve this problem can any one say about this

***** this is not only with EJB when we doing with UML or any other plug-ins in myeclipse this problem will come (default heap size is 64MB)

[897 byte] By [sricharana] at [2007-11-27 6:19:44]
# 1
Hey, look! MyEclipse has a support of their own! http://www.myeclipseide.com/module-htmlpages-display-pid-8.html
CeciNEstPasUnProgrammeura at 2007-7-12 17:34:37 > top of Java-index,Java Essentials,Java Programming...
# 2

Hello friend,

Thanks for your guidence......... and one more thing there i just new that we can change heap size by giveing -vmargs -Xms128m -mx256m

if our application not at all using this much amount of memory then in this case, is there any effect on Garbage Collector performance

can't we moniter heap size to give our requried size(either min or max)

sricharana at 2007-7-12 17:34:37 > top of Java-index,Java Essentials,Java Programming...