<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="http://www.comsol.com/community/forums/general/rss/thread/9322.rss" rel="self" type="application/rss+xml"/>
  <title>COMSOL Forums: COMSOL 4.0a : how to  set maximum Java heap size??</title>
  <link>http://www.comsol.com/community/forums/general/thread/9322/</link>
  <description>Most recent forum messages</description>
  <pubDate>Sun, 03 Feb 2013 22:05:56 +0000</pubDate>
  <image>
   <title>COMSOL Forums: COMSOL 4.0a : how to  set maximum Java heap size??</title>
   <url>http://www.comsol.com/shared/images/logos/comsol_logo.gif</url>
   <link>http://www.comsol.com/community/forums/general/thread/9322/</link>
  </image>
  <item>
   <title>Re: COMSOL 4.0a : how to  set maximum Java heap size??</title>
   <link>http://www.comsol.com/community/forums/general/thread/9322/#p95056</link>
   <description>I'm playing around with these settings now that I've installed 4.3a on my desktop, sounds like you're on top of this:&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I've got an i7 with 16Gb ram, and want to increase the allocated number of processors.&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I've increased the Xmx to 4096 (4Gb) but for some reason I can't increase the allocated number of cores past 4, which is the default allocation. (I have seven, plus the root 8th).&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
I've tried in Comsol under preferences, I've tried the -np &amp;lt;number of processors&amp;gt;  tag when running under windows (64bit, both windows AND comsol, although windowds doesn't like it; if someone knows how to make this work I'd be appreciative).&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Anyone had success with increasing their cores past 4 like this? I'm working with a 3-d rf-thermal model coupling with massively fine meshes (can't use symmetry either) so I need all the power I can get!&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
Cheers&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
</description>
   <pubDate>Sun, 03 Feb 2013 22:05:56 +0000</pubDate>
   <guid isPermaLink="false">9322.1359929156.95056</guid>
  </item>
  <item>
   <title>Re: COMSOL 4.0a : how to  set maximum Java heap size??</title>
   <link>http://www.comsol.com/community/forums/general/thread/9322/#p61873</link>
   <description>At present I have 8 gb of ram, 4 gb heap space (otherwise it wouldn't work, even with 3 gb!!!). I noticed though that the server needs less ram than the gui (2gb vs 4 gb).&lt;br /&gt;&#13;
In my opinion you should switch to a pc with more ram, if you can. 3 gb today are not enough. I feel also that a very fine mesh makes more problems than short time stepping.&lt;br /&gt;&#13;
Tha &amp;quot;fail&amp;quot; you talk about may also be that comsol solved the heap space problem and now somehing else came up. or it's the same error with a different name (like &amp;quot;compile equations error&amp;quot;).&lt;br /&gt;&#13;
the shut down may be that the ram is almost full, but I never experienced this.</description>
   <pubDate>Wed, 19 Oct 2011 05:26:10 +0000</pubDate>
   <guid isPermaLink="false">9322.1319001970.61873</guid>
  </item>
  <item>
   <title>Re: COMSOL 4.0a : how to  set maximum Java heap size??</title>
   <link>http://www.comsol.com/community/forums/general/thread/9322/#p61783</link>
   <description>i believe java heap space size can be set depending upon the ram on the computer. I have set it xmx750m (i.e. 750 mb) as I have 3 gb of ram. i calculated this size by diving the ram amount by 4. However i still have the error. if&lt;br /&gt;&#13;
i try to increase the size, the execution of the model itself fails and further increasing it makes the matlab-comsol interface to shut down. I think presently the only way is to either increase the ram or decreese the no of nodes or timestep!</description>
   <pubDate>Mon, 17 Oct 2011 23:58:09 +0000</pubDate>
   <guid isPermaLink="false">9322.1318895889.61783</guid>
  </item>
  <item>
   <title>Re: COMSOL 4.0a : how to  set maximum Java heap size??</title>
   <link>http://www.comsol.com/community/forums/general/thread/9322/#p56931</link>
   <description>Hi&lt;br /&gt;&#13;
After obtaining for 3 days the error &amp;quot;compile equations; error in multiphysics compilation&amp;quot; I understood I had to increase the heap space&lt;br /&gt;&#13;
In 4.2 I did this&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
C:\COMSOL42\bin\win64&lt;br /&gt;&#13;
in comsol.ini and comsolserver.ini I set the following&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
-Xss30m&lt;br /&gt;&#13;
-Xms200m&lt;br /&gt;&#13;
-Xmx4024m&lt;br /&gt;&#13;
-XX:MaxPermSize=900m&lt;br /&gt;&#13;
&lt;br /&gt;&#13;
the real issue is the 3rd one, that makes the difference</description>
   <pubDate>Wed, 27 Jul 2011 11:26:17 +0000</pubDate>
   <guid isPermaLink="false">9322.1311765977.56931</guid>
  </item>
  <item>
   <title>COMSOL 4.0a : how to  set maximum Java heap size??</title>
   <link>http://www.comsol.com/community/forums/general/thread/9322/#p24022</link>
   <description>Hi,&lt;br /&gt;&#13;
I have problem to set comsol java heap.&lt;br /&gt;&#13;
In v3.5a, I know I can modify java heap in comsol.opts.&lt;br /&gt;&#13;
But in v4.0a, I can't find the comsol.opts, and I have no idea about setting the java heap.&lt;br /&gt;&#13;
Please give me  help~~~&lt;br /&gt;&#13;
THX~   </description>
   <pubDate>Fri, 10 Sep 2010 04:34:08 +0000</pubDate>
   <guid isPermaLink="false">9322.1284093248.24022</guid>
  </item>
 </channel>
</rss>
