Hi Otis, On top of the heap (what's configured with -Xmx), java can consume a little more memory for non-Heap. Typically, that's not a lot though.
Am I right that the page that you link displays memory usage of the entire OS, not just the Java process? That might skew your observations. Are you familiar with the "jmap" executable that ships with Java? It allows you to review the memory usage of just your Java process from the command line. An invocation like this should give you interesting data: jmap -heap YOUR-PROCESS-ID Regards, Guus On 20 August 2015 at 14:08, Otis Gospodnetić <[email protected]> wrote: > Hello, > > We are using default Jetty 9 (v20150730) and Tomcat (v8) setup with the > same war file behind the same ELB and see that memory consumption is very > different. > Jetty uses much more memory than what's specified in -Xmx. > > Any idea why that is and whether it can be changed? > This is on Java8. > > For example, have a look at this: > https://apps.sematext.com/spm-reports/s/Wjex4aHtPf > > spm-reports1 machine is running Tomcat > spm-reports2 is running Jetty9 (v20150730) > > Is there anything we should look into to lower the Jetty 9 memory > footprint? > > Thanks, > Otis > -- > Monitoring * Alerting * Anomaly Detection * Centralized Log Management > Solr & Elasticsearch Support * http://sematext.com/ > > > _______________________________________________ > 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 >
_______________________________________________ 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
