• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

WSAD memory configuration

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author & internet detective
Posts: 42103
933
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Steve,
Yes. You can add it to the Eclipse command line. In Windows, you get to this by right clicking the WSAD shortcut.
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Steve,

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...

San
 
I am mighty! And this is a mighty small ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic