About Me

About Me
Working with SOA technologies , implementing solution using IBM BPM , IBM Integration Designer,IBM WODM and IBM DataPower

About me

View Mahesh Dondeti's profile on LinkedIn

upcoming posts on IBM Bluemix,Devops,Worklight,Node js.

Saturday 13 October 2012

Increasing the JVM heap size in WID (or any other Eclipse based tool)

We have identified some problems that may arise from too small heap size for our server. Same thing can occur in our development tools based on Eclipse such as WebSphere Integration Developer.
JVM heap size for such tools can be increased through standard Eclipse approach (documented here). Basically for WID, you can add command line parameters to the WID shortcut:
-vmargs -Xms[###]M -Xmx[###]M

where [###] is replaced by heap size in megabytes.
These values can be also edited in eclipse.ini configuration file located in the same folder as wid.exe where WID shortcut points at.
In our experience 768 MB is enough for initial heap size and 1536 MB for maximum heap size for the most memory expensive operations such is working with WebSphere Business Services Fabric Toolkit.
You can monitor heap size and start garbage collection at any time with heap monitor. In WID, from the Window menu select Preferences / General and check the Show heap status checkbox and click OK. You will get heap monitor as shown in the image below:



No comments:

Post a Comment