{"id":2692,"date":"2014-01-09T22:20:25","date_gmt":"2014-01-09T14:20:25","guid":{"rendered":"http:\/\/rmohan.com\/?p=2692"},"modified":"2014-01-09T22:20:25","modified_gmt":"2014-01-09T14:20:25","slug":"websphere-jvm-memory","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=2692","title":{"rendered":"WebSphere JVM memory"},"content":{"rendered":"<p>the WAS started to load very slow and keep hanging for whatever actions selected, end with a \u201cjava.lang.OutOfMemoryError\u201d error message in the WebSphere\u2019s log file.<\/p>\n<p>The default WebSphere\u2019s Java Virtual Machine memory is not enough; you should adjust more memory to your WebSphere Application Server. See following guide to increase WebSphere\u2019s JVM memory.<\/p>\n<p>1. In WebSphere web console, select Servers -> Server Types -> WebSphere application servers -> Server Infrastructure -> Java and Process Management -> Process definition.<br \/>\n<a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-1.png\" alt=\"WAS-adjust-memory-1\" width=\"640\" height=\"471\" class=\"aligncenter size-full wp-image-2693\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-1.png 640w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-1-300x220.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-1-150x110.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-1-400x294.png 400w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>In Additional Properties section, select Java Virtual Machine<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-2.png\" alt=\"WAS-adjust-memory-2\" width=\"640\" height=\"362\" class=\"aligncenter size-full wp-image-2694\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-2.png 640w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-2-300x169.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-2-150x84.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-2-400x226.png 400w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p> In General Properties section, put 256 for \u201cInitial heap size\u201d and 1024 for \u201cMaximum heap size\u201d.<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-3.png\" alt=\"WAS-adjust-memory-3\" width=\"640\" height=\"443\" class=\"aligncenter size-full wp-image-2695\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-3.png 640w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-3-300x207.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-3-150x103.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/01\/WAS-adjust-memory-3-400x276.png 400w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Done, restart WebSphere.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>the WAS started to load very slow and keep hanging for whatever actions selected, end with a \u201cjava.lang.OutOfMemoryError\u201d error message in the WebSphere\u2019s log file.<\/p>\n<p>The default WebSphere\u2019s Java Virtual Machine memory is not enough; you should adjust more memory to your WebSphere Application Server. See following guide to increase WebSphere\u2019s JVM memory.<\/p>\n<p>1. In [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2692"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2692"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2692\/revisions"}],"predecessor-version":[{"id":2696,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2692\/revisions\/2696"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}