|
Author
|
Topic: Memory leak problem.
|
ice_water2002 Member
Posts: 10 Registered: May 2002
|
posted 10-17-2002 06:23 PM
Checking the memory leak of a app belong to the performance testing? or not. And how can check the memory leak problem of an application (No source file)?Thanks ------------------

|
punekar Advanced Guru
    
Posts: 588 Registered: Dec 2000
|
posted 10-18-2002 02:12 AM
Memory leaks over a period of time can be detected by endurance tests. Design a workload slightly below the normal level and run it over an extended period of like 72-100+ hrs and observe the memory utilized over the period. Should indicate any possible issues.------------------ -Suresh Nageswaran, CQA, CSTE punekar@yahoo.com Cognizant Technology Solutions, Pune, India.

|
RSBarber Moderator
   
Posts: 852 Registered: Jul 2002
|
posted 10-18-2002 05:55 AM
I don't know if it BELONGS to the performance tester or not. What I do know is that is where it often ends up. If for no other reason than because the Performance Engineer is the one with the tools to generate the load that causes the leak to be detected.Here is another thread with a discussion about memory leak detection. http://www.qaforums.com/Forum15/HTML/003492.html
------------------ Scott Barber NOBLE(STAR Sr. Performance Engineer sbarber@noblestar.com http://www.noblestar.com http://www.perftestplus.com

|
rstens Guru
   
Posts: 321 Registered: Aug 2000
|
posted 10-18-2002 08:46 AM
Besides running your application under load for some time (btw we never use more than 1 hour to find the bulk of our memory leaks), collecting the right counters is vital.Global memory counters are sometimes not so useful. But if you can, focus in on the memory usage of the individual processes, we often find that this is most efficient. If you have some control on how apps are written, push for using tools like purify or for coding standards that push for cleaning up of varaibles and arrays after use. It's always better to prevent than to detect after the fact. ------------------ Roland

|
banff5366 Member
Posts: 27 Registered: Mar 2001
|
posted 10-18-2002 01:38 PM
I'll add this. If you are using Java and Websphere environment there is a program out there called GCstats that will allow you to graph out the memory utilization from within the JVM. Typically you don't have to run more than 1 hour to find leaks. The program basically uses a class file, cmd line and excel so its pretty easy to use. If not using WebSphere, nevermind.------------------

|
itshark Member
Posts: 30 Registered: Oct 2002
|
posted 10-18-2002 01:51 PM
quote: Originally posted by ice_water2002: Checking the memory leak of a app belong to the performance testing? or not. And how can check the memory leak problem of an application (No source file)?Thanks
If you are running your testing from a test box that has Windows NT, 2000, or XP, you can run Perfmon and Sysmon(2000 and XP only)to evaluate any of the thread on any box on your LAN. ------------------

|