RE: Virtual Memory

BHansard-OwnAfhDu3djtGJWAWb0rHTP0h3Fy0YSOAL8bYrjMMd8@public.gmane.org
Newsgroups gmane.comp.java.openjms.user
Message-ID <OF69AA0DEA.784A5D67-ON85257053.0043DE17-85257053.00442C18@powersystems.rockwell.com>
The clients did not seem to grow, We are monitoring them closely now.  I
have several gc reports and server memory traces that we are collecting.  I
have looked at my code over the past couple of days and think that you are
right, if an unexpected error occurs, then there is a chance the session
would remain open.  I am fixing that today and will let the app run over
the weekend to see if the problem reoccurs.  I will post the findings
either way.

Thanks for the assistance.



                                                                           
             "Tim Anderson"                                                
             <[email protected]                                             
             .au>                                                       To 
             Sent by:                  <openjms-user-5NWGOfrQmneRv+LV9MX5uuRhgaa4a2kL@public.gmane.orgnet 
             openjms-user-admi         >                                   
             [email protected]                                          cc 
             ge.net                                                        
                                                                   Subject 
                                       RE: [openjms-user] Virtual Memory   
             08/03/2005 07:46                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
             openjms-user@list                                             
             s.sourceforge.net                                             
                                                                           
                                                                           




OK - are your clients using more memory than expected?
Its possible there is a leak in the server, but it could
also be that your clients are creating sessions, producers and consumers,
and not closing them.


From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
BHansard-OwnAfhDu3djtGJWAWb0rHTP0h3Fy0YSOAL8bYrjMMd8@public.gmane.org
Sent: Wednesday, 3 August 2005 10:43 PM
To: [email protected]
Cc: [email protected];
openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [openjms-user] Virtual Memory



 I have two applications that open a single connection to the OpenJMS
 server. My applications do not send a lot of information via messaging,
 they are only used as a bridge to each other so my Connection is in a
 singleton which will maintain one open connection while the application is
 running. It is closed only when the server is shut down. I will change
 this to a connection pool in the near future which will open and close the
 connections while the bridge is not being used, but have not coded that
 part yet.

 Inactive hide details for "Tim Anderson" <[email protected]>"Tim
 Anderson" <[email protected]>

                                                                           
                         "Tim Anderson"                                    
                         <[email protected]                                   
                         et.au>                                            
                         Sent by:                                          
                         openjms-user-ad                                To 
                         [email protected]                                   
                         eforge.net                   <openjms-user@lists. 
                                                      sourceforge.net>     
                                                                           
                         08/02/2005                                     cc 
                         11:20 PM                                          
                                                                           
                                                                   Subject 
            Please respond to                                              
    [email protected]                RE: [openjms-user]   
                                                      Virtual Memory       
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



 Are any clients active?  Is it possible they may be
 failing to close connections/sessions etc?

 > -----Original Message-----
 > From: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
 > [mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf
 > Of BHansard
 > Sent: Tuesday, 2 August 2005 10:22 PM
 > To: [email protected]
 > Subject: [openjms-user] Virtual Memory
 >
 > Hello All,
 >
 > I am running OpenJMS v 0.7.7 on a Red Hat Linux Enterprise v3
 > Server.  I noticed that after a couple of days of the service
 > running, the Virtual Memory has spiked to 1,176,956 K in
 > size.  I have enough memory on the box that this is not
 > causing an immediate problem, but was wondering what could be
 > using so much memory.  Previously, when running v0.7.6.1 I
 > did not notice this.  (Not saying it did not happen, just
 > that I was not paying attention if it did).
 >
 > The break down of the usage is as follows:
 >
 > VmData: 1,109,004 K
 > VmStk:  2,036 K
 > VmExe:  56K
 > VmLib: 7,140K
 >
 > It would appear that the memory is in the data, but I only
 > have 60 messages on the Queue.   These messages contain a
 > JavaBean that takes up 1K on the file system.
 >
 > Any Ideas?
 >
 >
 >
 > --------------------------------------------------------
 >
 > People are conversing... without posting their
 > email or filling up their mail box. roomity.com
 > http://roomity.com/launch.jsp No sign up to read or search
 > this Rich Internet App
 >  ~~1122985334908~~
 > --------------------------------------------------------
 >
 >
 >
 > -------------------------------------------------------
 > SF.Net email is sponsored by: Discover Easy Linux Migration
 > Strategies from IBM. Find simple to follow Roadmaps,
 > straightforward articles, informative Webcasts and more! Get
 > everything you need to get up to speed, fast.
 > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
 > _______________________________________________
 > openjms-user mailing list
 > [email protected]
 > https://lists.sourceforge.net/lists/listinfo/openjms-user
 >



 -------------------------------------------------------
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
 _______________________________________________
 openjms-user mailing list
 [email protected]
 https://lists.sourceforge.net/lists/listinfo/openjms-user
graycol.gif (image/gif, 105 B) - not displayed
pic21724.gif (image/gif, 1.2 KB) - not displayed
ecblank.gif (image/gif, 45 B) - not displayed
C0408967.gif (image/gif, 105 B) - not displayed
C7620967.gif (image/gif, 45 B) - not displayed
C9844608.gif (image/gif, 45 B) - not displayed
C6447474.gif (image/gif, 45 B) - not displayed
C9467280.gif (image/gif, 45 B) - not displayed
C4943607.gif (image/gif, 45 B) - not displayed
C5033556.gif (image/gif, 45 B) - not displayed
C5673812.gif (image/gif, 45 B) - not displayed
C0127731.gif (image/gif, 45 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.