Hi Miguel,

 

The first thing to confirm is whether the JVM is running in 64-bit mode.
JRun 4.0 has not been tested against 64-bit JDKs, so very well could be
problems in that type of environment.  So it's an important fact that
this also fails in a 32-bit environment.

 

Historically, has the app always worked and just recently started to
fail, or is this a new app and has the memory consumption issue been a
problem since day one?

Have you load tested the app in any way?  Does the app run ok until you
reach or surpass a concurrent user volume level?

Are there stack traces associated with the error in the log files?

 

You need to find out what objects are using this memory.  You can use a
profiler tool like Optimizit or Jprobe to help with this.  Generally
speaking, these types of memory utilization issues stem from something
within the application, so that's generally the most effective place to
start with your fault isolation activities.  Large queries or use of
sessions are areas to examine.  Hope this helps.

 

Skip

 

 

-----Original Message-----
From: Miguel Sartori [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 1:29 PM
To: JRun-Talk
Subject: jrun memory leak and performace

 

Hi,

 

i'm having a big problem with an application running un IIS6/JRUN4
Udater 6 and ORACLE 9i. All in W2003 64 bits. jvm j2sdk1.4.1_02.

The config of the virtual machine is:

java.args= -Xmx1024M -Xms512M -Dsun.io.useCanonCaches=false

-XX:MaxPermSize=128m -XX:NewSize=32m -XXPermSize=32m
-XX:+DisableExplicitGC

 

in jrun.xml

Scheduler service

  <attribute name="bindToJNDI">true</attribute>

      <attribute name="activeHandlerThreads">250</attribute>

      <attribute name="maxHandlerThreads">1000</attribute>

      <attribute name="minHandlerThreads">50</attribute>

      <attribute name="threadWaitTimeout">180</attribute>

      <attribute name="timeout">300</attribute>

 

the metrics web in extreme load

 

02/03 16:05:26 metrics Web threads (busy/total): 10/77 Sessions: 831
Total Memory=1040512 Free=416055

 

The app starts ok, but in a few minutes it starts to throw
java.lang.OutOfMemoryError and consume 600 mb of memory at once.

Later works for a few hours comsuming "slowly" the rest of the memory
until die.

 

The problems exist too in an old 32 bits envoiroment.

 

Anywone now how can i resolve it or from where can i start.

 

Thanks a lot.

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5740
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to