java - Estimating memory consumption -


i need estimate memory consumption of web application, both in permgen , heap memory. have run visualvm , saw neat graphs , overwhelming list of objects how can discriminate between what's proper server , application?

somehow noting number before deployment , after, subtracting seems simplistic estimation.

also, how people estimate user amount? like, how more memory need each batch of users?

and, permgen oscillate number of users? i've read, permgen stores metadata classloaders , such somehow sounds number of users wouldn't matter stat.

any input appreciated.

the memory consumption of application estimated when put application under stress, using tools jmeter, simulating real users. jvm have warm period, need wait , see how application recover stress situation. glassfish has some tutorials performance tuning. permgen oscillate if application uses reflection, or many classes loaded in runtime. also, jvm has lot of parameters,so need see parameters should use based on nature of application. here can find points start jvm perfomance tuning.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -