{"id":222,"date":"2006-11-03T15:08:53","date_gmt":"2006-11-03T19:08:53","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=222"},"modified":"2011-12-17T12:21:04","modified_gmt":"2011-12-17T16:21:04","slug":"what-sakai-does-when-you-run-out-of-memory","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2006\/11\/what-sakai-does-when-you-run-out-of-memory\/","title":{"rendered":"What Sakai Does when You run out of Memory"},"content":{"rendered":"<p>Sakai will not start up with the default JVM settings.  You need the following:<br \/>\n[csev@s-sakai-1 ~]$ grep OPT .bash_profile<br \/>\nJAVA_OPTS=&#8217;-Xmx512m -Xms512m -XX:PermSize=16m -XX:MaxPermSize=128m -XX:NewSize=128m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC&#8217; ; export JAVA_OPTS<br \/>\nHere is the message you get when you forget this:<br \/>\nINFO: Deploying web application archive sakai-help-tool.war<br \/>\njava.lang.reflect.InvocationTargetException<br \/>\nat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br \/>\nat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br \/>\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br \/>\nat java.lang.reflect.Method.invoke(Method.java:585)<br \/>\nat org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)<br \/>\nat org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)<br \/>\nCaused by: java.lang.OutOfMemoryError: PermGen space<br \/>\nException in thread &#8220;QuartzScheduler_QuartzSchedulerThread&#8221; java.lang.OutOfMemoryError: PermGen space<br \/>\nException in thread &#8220;QuartzScheduler_QuartzScheduler-s-sakai-1.dmc.dc.umich.edu_MisfireHandler&#8221; java.lang.OutOfMemoryError: PermGen space<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sakai will not start up with the default JVM settings. You need the following: [csev@s-sakai-1 ~]$ grep OPT .bash_profile JAVA_OPTS=&#8217;-Xmx512m -Xms512m -XX:PermSize=16m -XX:MaxPermSize=128m -XX:NewSize=128m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC&#8217; ; export JAVA_OPTS Here is the message you get when you forget this: INFO: Deploying web application archive sakai-help-tool.war java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-222","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=222"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"predecessor-version":[{"id":2324,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/222\/revisions\/2324"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}