<?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, 16 May 2012 17:16:20 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: snehal</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-26870</link> <dc:creator>snehal</dc:creator> <pubDate>Wed, 16 May 2012 08:47:14 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-26870</guid> <description>And how to do this permanent heap size setting in Unix?</description> <content:encoded><![CDATA[<p>And how to do this permanent heap size setting in Unix?</p> ]]></content:encoded> </item> <item><title>By: Chaitanya</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-26844</link> <dc:creator>Chaitanya</dc:creator> <pubDate>Sun, 13 May 2012 17:26:25 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-26844</guid> <description>I have a spice qt-61.in it Java apps open too slowly can i do anything for it</description> <content:encoded><![CDATA[<p>I have a spice qt-61.in it Java apps open too slowly can i do anything for it</p> ]]></content:encoded> </item> <item><title>By: Viral Patel</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-26285</link> <dc:creator>Viral Patel</dc:creator> <pubDate>Thu, 08 Mar 2012 10:48:07 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-26285</guid> <description>The heap settings are done as command line arguement for JVM (java command). You need to check where you want to give heap preferences. Check the JVM command (java ..) and pass these parameters accordingly.</description> <content:encoded><![CDATA[<p>The heap settings are done as command line arguement for JVM (java command). You need to check where you want to give heap preferences. Check the JVM command (java ..) and pass these parameters accordingly.</p> ]]></content:encoded> </item> <item><title>By: Janaki</title><link>http://viralpatel.net/blogs/2009/01/jvm-java-increase-heap-size-setting-heap-size-jvm-heap.html/comment-page-1#comment-26284</link> <dc:creator>Janaki</dc:creator> <pubDate>Thu, 08 Mar 2012 10:32:57 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=615#comment-26284</guid> <description>Can let know where to do the heap settings? exact path to do the settings.</description> <content:encoded><![CDATA[<p>Can let know where to do the heap settings? exact path to do the settings.</p> ]]></content:encoded> </item> <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> </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
Database Caching 2/15 queries in 0.015 seconds using disk: basic
Object Caching 362/367 objects using disk: basic

Served from: viralpatel.net @ 2012-05-17 08:26:30 -->
