Ming Lu, I don't think there is an easy way to determine what application/site those session belong to. There are some things you can do to get a better idea of the memory load of a particular session. Here's a code snippet of something we've done on different sites to determine how much a certain page request increases our memory footprint. Make sure you don't use this on a production server, since the force garbage collection really slows down your application.
<cfset runtime = CreateObject("java","java.lang.Runtime").getRuntime()> <cfset freeMemory = runtime.freeMemory() / 1024 / 1024> <cfset totalMemory = runtime.totalMemory() / 1024 / 1024> <cfset maxMemory = runtime.maxMemory() / 1024 / 1024> <cfoutput> Free Allocated Memory: #Round(freeMemory)#mb<br> Total Memory Allocated: #Round(totalMemory)#mb<br> Max Memory Available to JVM: #Round(maxMemory)#mb<br> Memory In Use: #Round(totalMemory-freeMemory)#mb<br> </cfoutput> NOW DO PAGE PROCESSING..... <cfset runtime.gc() /> <!--- now do garbage collection. To make sure numbers are accurate ---> <cfset freeMemory = runtime.freeMemory() / 1024 / 1024> <cfset totalMemory = runtime.totalMemory() / 1024 / 1024> <cfset maxMemory = runtime.maxMemory() / 1024 / 1024> <cfoutput> Free Allocated Memory: #Round(freeMemory)#mb<br> Total Memory Allocated: #Round(totalMemory)#mb<br> Max Memory Available to JVM: #Round(maxMemory)#mb<br> Memory In Use: #Round(totalMemory-freeMemory)#mb<br> </cfoutput> Leon -----Original Message----- From: Ming Lu [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 1:54 PM To: CF-Talk Subject: Re: JRun High Memory Usage on CFMX 7 Hi Leon, Thank you so much for your input. [1]. I checked our Windows Server 2003 for Available Bytes counter, Handle Count, Pool Nonpaged Bytes, Pool Paged Bytes, and Private Bytes counters. None of these has a consistently increasing curve, so it does not look like it has memory leak. [2]. For The jvm.config file in the bin directory in JRun, the -Xmx setting has been setup at -Xmx512m, but the problem is still there. [3]. According to our programmer, we have already used the application variables where we could. Do you know if there is a way to find out which site(s) those opened sessions belong to and are from which page? Thank you very much for your help! Ming Lu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234632 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54