[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [jboss-user] [Performance Tuning] - java.lang.OutOfMemoryError:
From:       Roberto Requena <do-not-reply () jboss ! com>
Date:       2011-08-31 16:28:19
Message-ID: 2-624085-3-14944-1314808092217.jivesbs.jivemailuser () http://community ! jboss ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Roberto Requena [http://community.jboss.org/people/Rart3001_1] created the discussion

"java.lang.OutOfMemoryError: PermGen space + JBoss AS in Windows"

To view the discussion, visit: http://community.jboss.org/message/624085#624085

--------------------------------------------------------------
Greetings.

I need some help setting up a JBoss Aplication for production as is giving me memory \
problems.

The server configuration is as follows:

*OS: Microsoft Windows Server 2003 Enterprise Edition (Service Pack 2)*
*CPU: Pentium (R) Dua-Core CPU E5200@2.50GHz 2.50GHz*
*Memory: 1.96 GB of RAM.*
*JAVA: java version "1.6.0_24" Java (TM) SE Runtime Environment (build1.6.0_24-b07)*
*Application Server: JBoss 5.1.0.GA*

My application is developed with:

*JSF 1.2*
*Rich Faces 3.3.3 Final*
*Facelets*
*EJB 3.0*
*JPA*

I tried to make most of my Backing Beam are in request scope.

But when more than one user is connected to the application I get the following \
error:

java.lang.OutOfMemoryError: PermGen space


and tried to set the memory of the VM, but do not know what values ​​to \
putexactly the amount of server memory. Nor is that components of jboss I have to \
uninstall to improve performance.

If you have any suggestions they are truly GRATEFUL.

Thanks again and excuse me for my Inglish
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/624085#624085]

Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]



[Attachment #5 (text/html)]

<!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="http://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;">  java.lang.OutOfMemoryError: PermGen space + JBoss AS in \
Windows </h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/Rart3001_1">Roberto \
Requena</a> in <i>Performance Tuning</i> - <a \
href="http://community.jboss.org/message/624085#624085">View the full discussion</a> \
</span> <hr style="margin: 20px 0; border: none; background-color: #dadada; height: \
1px;">

<div class="jive-rendered-content"><p><span \
class="hps">Greetings</span><span>.</span></p><p style="min-height: 8pt; height: 8pt; \
padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160; <span class="hps">I need \
some</span> <span class="hps">help setting up</span> <span class="hps">a</span> <span \
class="hps">JBoss</span> <span class="hps">Aplication</span> <span class="hps">for \
production</span> <span class="hps">as</span> <span class="hps">is giving me</span> \
<span class="hps">memory problems.</span></p><p style="min-height: 8pt; height: 8pt; \
padding: 0px;">&#160;</p><p><span class="hps">The</span> <span class="hps">server \
configuration</span> <span class="hps">is as follows:</span></p><p style="min-height: \
8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong><span class="hps">OS:</span> \
<span class="hps">Microsoft</span> <span class="hps">Windows</span> <span \
class="hps">Server</span> <span class="hps">2003 Enterprise</span> <span \
class="hps">Edition</span> <span class="hps">(Service</span> <span class="hps">Pack \
2)</span></strong></p><p><strong><span class="hps">CPU:</span> <span class="hps \
atn">Pentium (</span>R) <span class="hps">Dua</span>-Core CPU <span \
class="hps">E5200@2.50GHz</span> <span \
class="hps">2.50GHz</span></strong></p><p><strong><span class="hps">Memory:</span> \
<span class="hps">1.96 GB</span> <span class="hps">of</span> <span \
class="hps">RAM.</span></strong></p><p><strong><span class="hps">JAVA:</span> <span \
class="hps">java</span> <span class="hps atn">version "</span>1.6.0_24<span \
class="atn">" Java (</span>TM) <span class="hps">SE Runtime</span> <span \
class="hps">Environment</span> <span class="hps">(build</span><span \
class="hps">1.6.0_24</span><span \
class="atn">-</span>b07)</strong></p><p><strong><span class="hps">Application \
Server:</span> <span class="hps">JBoss</span> <span \
class="hps">5.1.0.GA</span></strong></p><p style="min-height: 8pt; height: 8pt; \
padding: 0px;">&#160;</p><p><span class="hps">My</span> <span \
class="hps">application</span> <span class="hps">is developed</span> <span \
class="hps">with:</span></p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p><strong><span class="hps">JSF \
1.2</span></strong></p><p><strong><span class="hps">Rich</span> <span \
class="hps">Faces</span> <span class="hps">3.3.3</span> <span \
class="hps">Final</span></strong></p><p><strong><span \
class="hps">Facelets</span></strong></p><p><strong><span class="hps">EJB</span> <span \
class="hps">3.0</span></strong></p><p><strong><span \
class="hps">JPA</span></strong></p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p><span class="hps">I</span> <span class="hps">tried to make</span> \
<span class="hps">most of my</span> <span class="hps">Backing</span> <span \
class="hps">Beam</span> <span class="hps">are in</span> <span \
class="hps">request</span> <span class="hps">scope</span><span>.</span></p><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span \
class="hps">But when</span> <span class="hps">more than one user</span> <span \
class="hps">is</span> <span class="hps">connected</span> <span class="hps">to the \
application</span> <span class="hps">I get the following</span> <span \
class="hps">error:</span></p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><pre class="jive-pre"><code class="jive-code \
jive-java">java.lang.OutOfMemoryError: PermGen space </code></pre><p \
style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span \
class="hps">and</span> <span class="hps">tried to set</span> <span class="hps">the \
memory of the</span> <span class="hps">VM,</span> <span class="hps">but</span> <span \
class="hps">do not know what</span> <span class="hps">values ​​to put</span><span \
class="hps">exactly</span> <span class="hps">the amount of</span> <span \
class="hps">server memory.</span> <span class="hps">Nor</span> <span \
class="hps">is</span> <span class="hps">that components of</span> <span \
class="hps">jboss</span> <span class="hps">I have to</span> <span \
class="hps">uninstall</span> <span class="hps">to improve \
performance</span><span>.</span></p><p style="min-height: 8pt; height: 8pt; padding: \
0px;">&#160;</p><p><span class="hps">If you have</span> <span class="hps">any \
suggestions</span> <span class="hps">they are</span> <span class="hps">truly</span> \
<span class="hps">GRATEFUL</span><span>.</span></p><p style="min-height: 8pt; height: \
8pt; padding: 0px;">&#160;</p><p><span class="hps">Thanks again and</span> <span \
class="hps">excuse</span> <span class="hps">me</span> <span class="hps">for my</span> \
<span class="hps">Inglish</span></p></div>

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


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

</div>

</body>
</html>



_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic