File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes WSAD memory configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WSAD memory configuration" Watch "WSAD memory configuration" New topic

WSAD memory configuration

Steve Chambers

Joined: Sep 19, 2006
Posts: 28
Is there a setting in WSAD to set how much memory WSAD takes up? I know I can set the heap size but i want to set the max memory for the app itself.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33127

Yes. You can add it to the Eclipse command line. In Windows, you get to this by right clicking the WSAD shortcut.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

I've heard of people going to all ends of the earth to get more memory for a machine running WSAD, but I've never heard of anyone intentionally trying to limit the memory the tool would use.

Be careful!

-Cameron McKenzie
Steve Chambers

Joined: Sep 19, 2006
Posts: 28
Cameron good point! I am doing some benchmarking and trying to set some constraints on memory like setting the max heap size and what not and someone told me that I should also set this. If I go about doing it where can I find steps to do this from the command line?
S Santhosh
Ranch Hand

Joined: Mar 03, 2005
Posts: 73

You may have already found the answer. If not here is a little help.

-vmargs -Xmx256M For large-scale development you should modify your VM arguments to make more heap available. This example allows the Java heap to grow to 256 MB. This may not be enough for large projects.

THe above is from ibm developers guide redbook.

Another tip from my personal experience, minimising WSAD 5.x window also releases any unused memory by the tool. I have verified this from the CPU utilization/memory usages.

hope this helps...

I agree. Here's the link:
subject: WSAD memory configuration
jQuery in Action, 3rd edition