In general you should use a proper tool (Eclipse MAT or JProfiler for
example) to investigate where how much memory is used.
Depending on your application, annotation parsing might involve a lot of
(extra) class-loading and information caching... but this is just a wild
guess!
Am 28.08.2015 10:03, schrieb Ciprian Hacman:
Hi,
Just wanted to make things a little more clear.
We changed from Apache to Glassfish, but we disabled the "annotations"
module to reduce the memory usage. We had to move to Glassfish because
the Apache engine did not work without "annotations".
To make things easier to follow, here are some numbers for our webapp
(numbers represent RES memory):
1. apache + annotations - 2.5GB
2. apache + annotations disabled - not working
3. glassfish + annotations - 2.5GB
4. glassfish + annotations disabled - 750MB
Not sure why annotations make this huge difference for us and how to
debug further.
I see some other people bumped into similar issues (which gave us this
idea):
https://www.eclipse.org/forums/index.php/t/1067502/
If anyone has any idea here, we would be happy to give it a try.
Thanks,
Ciprian
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users