{"id":2372,"date":"2022-08-30T15:24:19","date_gmt":"2022-08-30T15:24:19","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/05\/is-there-a-way-to-disable-tomcat-memory-limits-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:24:19","modified_gmt":"2022-08-30T15:24:19","slug":"is-there-a-way-to-disable-tomcat-memory-limits-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/is-there-a-way-to-disable-tomcat-memory-limits-collection-of-common-programming-errors\/","title":{"rendered":"Is there a way to disable Tomcat memory limits?-Collection of common programming errors"},"content":{"rendered":"<p>I would caution against not setting these, especially in the event of a memory leak &#8212; which might take up most (all?) memory on your system. Also, in the event of a garbage collection, your application&#8217;s pause time might become unacceptable if memory usage is unchecked.<\/p>\n<p>Sizing the JVM depends on a lot of factors: Your application&#8217;s &#8220;footprint&#8221;, RAM available on the server, other processes running on the server, etc. You will be happier in the long run if you profile your app using some load testing\/profiling tool, examining your garbage collection logs, server resource consumption, etc., and tweak these settings, instead of leaving them out. IMO, you should run a lean, well-tuned application (-:<\/p>\n<p id=\"rop\"><small>Originally posted 2014-01-05 22:34:26. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I would caution against not setting these, especially in the event of a memory leak &#8212; which might take up most (all?) memory on your system. Also, in the event of a garbage collection, your application&#8217;s pause time might become unacceptable if memory usage is unchecked. Sizing the JVM depends on a lot of factors: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2372","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2372"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2372\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}