I need to estimate the memory consumption of my web application, both in PermGen and Heap memory. I have run VisualVM and saw the neat graphs and the overwhelming list of objects but how can I discriminate between what's the proper server and my application?
Somehow noting the number before deployment and after, then subtracting seems to simplistic to be a good estimation.
Also, how do people estimate by user amount? Like, how much more memory do I need for each batch of users?
And, does PermGen actually oscillate with the number of users? From what I've read, PermGen stores metadata for classloaders and such so somehow sounds like the number of users wouldn't matter for this stat.
Any input would be appreciated.