How would I measure the amount of RAM needed per Glassfish domain? [closed]
- by oligofren
Possible Duplicate:
Can you help me with my capacity planning?
In our test environment we have a lot of apps spread out over a few servers and Glassfish domains. To make versioning easier I would have liked to have one Glassfish domain per customer per app (kind of like a heavyweight version of lots of jetty instances). But I have heard that Glassfish is kind of heavy on the resources, and so I would need to measure approximately how many instances would fit in the available RAM.
These are low-traffic/low load testing servers, so CPU is not really an issue, though RAM might be.
How would I get an approximate measure of how much RAM is needed? This is one Glassfish 3 instance with one heavy EAR application deployed. top? jvmstats? ??