<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    How can I increase the -XXMaxPermGen jvm settings in Jboss under eclipse Juno?
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/mpardee">martin pardee</a> in <i>JBoss Tools</i> - <a href="https://community.jboss.org/message/755836#755836">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>folks:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>after upgrading to eclipse Juno, Jboss now starts with a set of JAVA_OPTS that are so low that I get an Out of Memory error, PermGen sp, when doing almost anything with the server.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Changing settings in my Shell definition of JAVA_OPTS,&#160; Jboss' run.sh and run.conf files, or the eclipse runtime ini file have no effect on the reported JVM memory sizes shown when the server starts.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I have done a fair amount of googling,&#160; which suggests things i have already tried,&#160; and doing a find/grep on my file system looking for the offending memory setting.&#160; no joy.</p><p>It seems to me (newbie that i am) that the gizmo called "JBossTools is launching my instance of the JBoss server inside of eclipse,&#160; but i have had no luck tracking down where or how this element starts. (see console output below)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1:21:34,772 INFO&#160; [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_25-b06)</p><p>11:21:34,772 INFO&#160; [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.0-b11,Sun Microsystems Inc.</p><p>11:21:34,773 INFO&#160; [ServerInfo] OS-System: Linux 2.6.18-274.3.1.el5,amd64</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>11:21:34,773 INFO&#160; [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.x Runtime -Xms256m -Xmx768m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=/home/mlp/jboss-6.1.0.Final/lib/endorsed -Djava.library.path=/home/mlp/jboss-6.1.0.Final/bin/native -Dlogging.configuration=file:/home/mlp/jboss-6.1.0.Final/bin/logging.properties -Dfile.encoding=UTF-8 </strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>11:21:34,848 INFO&#160; [JMXKernel] Legacy JMX core initialized</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>any hints on this one would be greatly appreciated.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>martin</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/755836#755836">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>