<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: Playing with JVM / Java Heap Size.</title> <atom:link href="http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/feed" rel="self" type="application/rss+xml" /><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html</link> <description>Tutorials, Java, J2EE, Struts, AJAX, JavaScript, CSS, Web 2.0, MySQL, Articles</description> <lastBuildDate>Wed, 08 Feb 2012 10:36:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Kellie B</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-16595</link> <dc:creator>Kellie B</dc:creator> <pubDate>Mon, 10 Oct 2011 10:02:01 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-16595</guid> <description>I need to &#039;increase java heap size in jvmcfg.ini&#039; I have no idea what this means but from the information above see I need to &#039;Xmx        set maximum Java heap size&#039;, what does that mean I actually do? Cut and past that somewhere?I have a macbook and am not down with computer lingo so would really love some basic straightforward instruction for dummies.</description> <content:encoded><![CDATA[<p>I need to &#8216;increase java heap size in jvmcfg.ini&#8217; I have no idea what this means but from the information above see I need to &#8216;Xmx        set maximum Java heap size&#8217;, what does that mean I actually do? Cut and past that somewhere?</p><p>I have a macbook and am not down with computer lingo so would really love some basic straightforward instruction for dummies.</p> ]]></content:encoded> </item> <item><title>By: JigSaw</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-16137</link> <dc:creator>JigSaw</dc:creator> <pubDate>Thu, 29 Sep 2011 19:21:59 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-16137</guid> <description>In Windows you should write it as; java -Xms64m -Xmx1024m -jar MyProgram.jarjava -Xms64m -Xmx256m HelloWorld doesn&#039;t work for me, I added -jar part and it works now.</description> <content:encoded><![CDATA[<p>In Windows you should write it as;<br /> java -Xms64m -Xmx1024m -jar MyProgram.jar</p><p>java -Xms64m -Xmx256m HelloWorld doesn&#8217;t work for me, I added -jar part and it works now.</p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-16061</link> <dc:creator>Chris</dc:creator> <pubDate>Tue, 20 Sep 2011 02:55:54 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-16061</guid> <description>There is a way to set this permanantly. In windows, go to control panel, click java, go to java tab, click view, and under runtime parameters put -Xmx4G or whatever size you want</description> <content:encoded><![CDATA[<p>There is a way to set this permanantly. In windows, go to control panel, click java, go to java tab, click view, and under runtime parameters put -Xmx4G or whatever size you want</p> ]]></content:encoded> </item> <item><title>By: Dala</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-15996</link> <dc:creator>Dala</dc:creator> <pubDate>Thu, 08 Sep 2011 20:58:16 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-15996</guid> <description>I think it is not the real reason bye</description> <content:encoded><![CDATA[<p>I think it is not the real reason<br /> bye</p> ]]></content:encoded> </item> <item><title>By: Dala</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-15995</link> <dc:creator>Dala</dc:creator> <pubDate>Thu, 08 Sep 2011 20:44:26 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-15995</guid> <description>HI I tried to increase the java heap size I used this command line: java -Xmx1K I have this error : error occurred during initialization of VM could not  reserve enough space for object heap could not create the java virtual machine I search and found the reason of this error is Heap size is larger than my computer&#039;s physical memory , and  I don&#039;t  know if it the real reason is the physical memory  , can any one help my to fixed this error .</description> <content:encoded><![CDATA[<p>HI<br /> I tried to increase the java heap size I used this command line:<br /> java -Xmx1K<br /> I have this error :<br /> error occurred during initialization of VM<br /> could not  reserve enough space for object heap<br /> could not create the java virtual machine<br /> I search and found the reason of this error is Heap size is larger than my computer&#8217;s physical memory , and  I don&#8217;t  know if it the real reason is the physical memory  , can any one help my to fixed this error .</p> ]]></content:encoded> </item> <item><title>By: rajesh.kolli</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-14811</link> <dc:creator>rajesh.kolli</dc:creator> <pubDate>Wed, 25 May 2011 08:54:14 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-14811</guid> <description>you can read different parts of the heap on the following link:http://java-espresso.blogspot.com/2011/05/heap-structure-in-jvm.html Gist of the article is below: Following are the parts in JVM heap: Young Generation Eden Space Survivor space Virtual space Tenured (Old) generation: Virtual Space Other Areas: Not a part of heap: PermGen Area Native Areahttp://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.htmlhttp://hausheer.osola.com/docs/5http://www.codemiles.com/java/here-how-to-increase-java-heap-size-t663.html</description> <content:encoded><![CDATA[<p>you can read different parts of the heap on the following link:</p><p><a href="http://java-espresso.blogspot.com/2011/05/heap-structure-in-jvm.html" rel="nofollow">http://java-espresso.blogspot.com/2011/05/heap-structure-in-jvm.html</a><br /> Gist of the article is below:</p><p>Following are the parts in JVM heap:</p><p>Young Generation<br /> Eden Space<br /> Survivor space<br /> Virtual space<br /> Tenured (Old) generation:<br /> Virtual Space<br /> Other Areas: Not a part of heap:<br /> PermGen Area<br /> Native Area</p><p><a href="http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html" rel="nofollow">http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html</a></p><p><a href="http://hausheer.osola.com/docs/5" rel="nofollow">http://hausheer.osola.com/docs/5</a></p><p><a href="http://www.codemiles.com/java/here-how-to-increase-java-heap-size-t663.html" rel="nofollow">http://www.codemiles.com/java/here-how-to-increase-java-heap-size-t663.html</a></p> ]]></content:encoded> </item> <item><title>By: Dharmvir</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-14738</link> <dc:creator>Dharmvir</dc:creator> <pubDate>Mon, 16 May 2011 18:19:12 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-14738</guid> <description>You can read about different parts of the heap on the following link: http://java-espresso.blogspot.com/2011/05/heap-structure-in-jvm.html Gist of the article is below:Following are the parts in JVM heap:Young Generation Eden Space Survivor space Virtual space Tenured (Old) generation: Virtual Space Other Areas: Not a part of heap: PermGen Area Native Area</description> <content:encoded><![CDATA[<p>You can read about different parts of the heap on the following link:<br /> <a href="http://java-espresso.blogspot.com/2011/05/heap-structure-in-jvm.html" rel="nofollow">http://java-espresso.blogspot.com/2011/05/heap-structure-in-jvm.html</a><br /> Gist of the article is below:</p><p>Following are the parts in JVM heap:</p><p> Young Generation<br /> Eden Space<br /> Survivor space<br /> Virtual space<br /> Tenured (Old) generation:<br /> Virtual Space<br /> Other Areas: Not a part of heap:<br /> PermGen Area<br /> Native Area</p> ]]></content:encoded> </item> <item><title>By: rohini</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-14086</link> <dc:creator>rohini</dc:creator> <pubDate>Mon, 21 Feb 2011 10:58:42 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-14086</guid> <description>same error bt solution not working......!</description> <content:encoded><![CDATA[<p>same error bt solution not working&#8230;&#8230;!</p> ]]></content:encoded> </item> <item><title>By: Dhana</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-13129</link> <dc:creator>Dhana</dc:creator> <pubDate>Tue, 21 Sep 2010 16:48:29 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-13129</guid> <description>Hi All,How to check what is teh heap size in a windows machine in command line?</description> <content:encoded><![CDATA[<p>Hi All,</p><p>How to check what is teh heap size in a windows machine in command line?</p> ]]></content:encoded> </item> <item><title>By: rafikpbhdm</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-13001</link> <dc:creator>rafikpbhdm</dc:creator> <pubDate>Mon, 16 Aug 2010 13:03:34 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-13001</guid> <description>hi my friends, well I tried to increase java heap space using run configuration in eclipse and netbeans, and the  result was same ,I had NoClassDefFoundError , and when I deleted the command line (java -Xms64m -Xmx256m) and run the application again it worked normally except of course the pb of OutOfMemory exception, and even try dos prompt ,the vm didn&#039;t recognize the option -Xmx and sometimes it just throw the excption NoClassDefFoundError,well it &#039;s really weird thing and I don&#039;t know how to explain it ,so little help will be nice.</description> <content:encoded><![CDATA[<p>hi my friends, well I tried to increase java heap space using run configuration in eclipse and netbeans, and the  result was same ,I had NoClassDefFoundError , and when I deleted the command line (java -Xms64m -Xmx256m) and run the application again it worked normally except of course the pb of OutOfMemory exception, and even try dos prompt ,the vm didn&#8217;t recognize the option -Xmx and sometimes it just throw the excption NoClassDefFoundError,well it &#8216;s really weird thing and I don&#8217;t know how to explain it ,so little help will be nice.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: viralpatel.net @ 2012-02-09 10:34:25 -->
