{"id":56,"date":"2008-04-10T14:04:07","date_gmt":"2008-04-10T14:04:07","guid":{"rendered":"http:\/\/weka4ws.wordpress.com\/"},"modified":"2008-04-10T14:04:07","modified_gmt":"2008-04-10T14:04:07","slug":"troubleshooting","status":"publish","type":"page","link":"https:\/\/scalab.dimes.unical.it\/weka4ws\/troubleshooting\/","title":{"rendered":"Troubleshooting"},"content":{"rendered":"<ul>\n<li><strong> OutOfMemoryException<\/strong>(at client side): most Java virtual machines only allocate a certain maximum amount of memory to run Java programs. Usually this is much less than the amount of RAM in your computer. With Weka4WS you can extend the memory available for the virtual machine by running the &#8216;weka4ws.sh&#8217; (or &#8216;weka4ws.bat&#8217; on Windows) script passing as first argument the amount of RAM (in MB) you wish to use. For example running\n<pre>weka4ws.sh 2048<\/pre>\n<p>will run Weka4WS setting the maximum Java heap size to 2048MB.<\/li>\n<li><strong>OutOfMemoryError<\/strong>(at server side): it is recommended to increase the maximum heap size of the JVM when running the container. By default on Sun JVMs a 64MB maximum heap size is used. The maximum heap size can be set using the -Xmx JVM option. For example if you want to set 512MB as maximum heap size you need to run:\n<pre>$ setenv GLOBUS_OPTIONS -Xmx512M<\/pre>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>OutOfMemoryException(at client side): most Java virtual machines only allocate a certain maximum amount of memory to run Java programs. Usually this is much less than the amount of RAM in your computer. With Weka4WS you can extend the memory available for the virtual machine by running the &#8216;weka4ws.sh&#8217; (or &#8216;weka4ws.bat&#8217; on Windows) script passing as [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/scalab.dimes.unical.it\/weka4ws\/wp-json\/wp\/v2\/pages\/56"}],"collection":[{"href":"https:\/\/scalab.dimes.unical.it\/weka4ws\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/scalab.dimes.unical.it\/weka4ws\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/scalab.dimes.unical.it\/weka4ws\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scalab.dimes.unical.it\/weka4ws\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":0,"href":"https:\/\/scalab.dimes.unical.it\/weka4ws\/wp-json\/wp\/v2\/pages\/56\/revisions"}],"wp:attachment":[{"href":"https:\/\/scalab.dimes.unical.it\/weka4ws\/wp-json\/wp\/v2\/media?parent=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}