<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>JetBrains Developer Community: Message List - Unable to adjust PermSize or MaxPermSize for a build</title>
    <link>http://devnet.jetbrains.com/community/teamcity/teamcity?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 12 Apr 2010 15:21:57 GMT</pubDate>
    <generator>Clearspace 2.5.16 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2010-04-12T15:21:57Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Unable to adjust PermSize or MaxPermSize for a build</title>
      <link>http://devnet.jetbrains.com/message/5260654?tstart=0#5260654</link>
      <description>&lt;!-- [DocumentBodyStart:a695f7af-a3cb-46ef-85a9-5a477e496c54] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hello,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you don't fork your surefire tests, specifying additional JVM parameters should help. However if you do fork, use &lt;strong&gt;maven.surefire.debug&lt;/strong&gt;&lt;span&gt; property. See &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://maven.apache.org/plugins/maven-surefire-plugin/examples/debugging.html"&gt;http://maven.apache.org/plugins/maven-surefire-plugin/examples/debugging.html&lt;/a&gt;&lt;span&gt; for details.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a695f7af-a3cb-46ef-85a9-5a477e496c54] --&gt;</description>
      <pubDate>Mon, 12 Apr 2010 15:21:57 GMT</pubDate>
      <author>sergey.anchipolevsky@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/message/5260654?tstart=0#5260654</guid>
      <dc:date>2010-04-12T15:21:57Z</dc:date>
      <clearspace:dateToText>3 years, 1 month ago</clearspace:dateToText>
    </item>
    <item>
      <title>Unable to adjust PermSize or MaxPermSize for a build</title>
      <link>http://devnet.jetbrains.com/message/5260644?tstart=0#5260644</link>
      <description>&lt;!-- [DocumentBodyStart:5799e566-2284-4762-b5a5-f07415408638] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;We are having a problem where we are not able to increase PermSize for a build we are running.&amp;#160; With the addition of more unit tests to an application our PermGen reaches 74M when run from the command line on a local developer workstation.&amp;#160; However the same command run on our TeamCity Agent stays limited to 64M, causing the build to fail.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have tried specifying the PermSize parameters in the agent.bat file, in the wrapper.conf file and in the build as JVM parameters.&amp;#160; Any ideas what might be forcing the agent to limit PermSize to 64M?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Our build is setup as follows.&lt;/p&gt;&lt;p&gt;Build Runner: Maven2&lt;/p&gt;&lt;p&gt;Goals: clean compile test&lt;/p&gt;&lt;p&gt;Additional Params: -U&lt;/p&gt;&lt;p&gt;JVM command line params: -Xmx512M -Xms128M -XX:MaxPermSize=128M -XX:PermSize=128M -XX:+CMSClassUnloadingEnabled&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The error thrown is&lt;/p&gt;&lt;p&gt;org.apache.maven.surefire.booter.SurefireExecutionException: PermGen space; nested exception is java.lang.OutOfMemoryError: PermGen space&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is our environment&lt;/p&gt;&lt;p&gt;Windows XP x64&lt;/p&gt;&lt;p&gt;TeamCity 4.5.5&lt;/p&gt;&lt;p&gt;Maven 2.0.9&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Marc&lt;/p&gt;&lt;p&gt;CSA Travel Protection&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5799e566-2284-4762-b5a5-f07415408638] --&gt;</description>
      <pubDate>Mon, 12 Apr 2010 14:47:14 GMT</pubDate>
      <author>devnet@jetbrains.com</author>
      <guid>http://devnet.jetbrains.com/message/5260644?tstart=0#5260644</guid>
      <dc:date>2010-04-12T14:47:14Z</dc:date>
      <clearspace:dateToText>3 years, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
  </channel>
</rss>

