The online community for software testing & quality assurance professionals
   
Active Topics Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Jobs
Training
News
Links
Downloads

News Group:
software.testing


Testing
Automation
Performance
Engineering
Miscellaneous
Statistics
Poll
  QA Forums
  Performance & Load Testing
  Memory leak problem.

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Memory leak problem.
ice_water2002
Member

Posts: 10
Registered: May 2002

posted 10-17-2002 06:23 PM     Click Here to See the Profile for ice_water2002   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts 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

------------------

IP Logged

punekar
Advanced Guru

Posts: 588
Registered: Dec 2000

posted 10-18-2002 02:12 AM     Click Here to See the Profile for punekar   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by punekar Visit punekar's Homepage!
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.

IP Logged

RSBarber
Moderator

Posts: 852
Registered: Jul 2002

posted 10-18-2002 05:55 AM     Click Here to See the Profile for RSBarber   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by RSBarber Visit RSBarber's Homepage!
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

IP Logged

rstens
Guru

Posts: 321
Registered: Aug 2000

posted 10-18-2002 08:46 AM     Click Here to See the Profile for rstens   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by rstens
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

IP Logged

banff5366
Member

Posts: 27
Registered: Mar 2001

posted 10-18-2002 01:38 PM     Click Here to See the Profile for banff5366   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by banff5366
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.

------------------

IP Logged

itshark
Member

Posts: 30
Registered: Oct 2002

posted 10-18-2002 01:51 PM     Click Here to See the Profile for itshark   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by itshark
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.

------------------

IP Logged

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A Reply
Hop to:

Contact Us | BetaSoft Inc. | Privacy Statement

Copyright © 1997-2003 BetaSoft Inc.


Ultimate Bulletin Board 5.45c