How to test memory leakages in a project?

Questions by neeladri

Showing Answers 1 - 3 of 3 Answers

whatifgame

  • Jan 23rd, 2008
 

Hi Neeladari,
Memory leakage testing depends on the Application(Project). On the basis of system behavour we can test the memory leakge.But as a overview memory leak means when a application run it consumes some memory and when application is terminated it frees that allocated memory.  The important thing is that this memory is
the RAM memory, so if the Application is not freeing the memory, the memory consumption will increase continuously and System might go in memory shortage. It might be possible that system can crash or the application itself.

Example :
Suppose you created a process that takes 2 BYTE now delete the process and check whether still memory is allocated to that application, if it is then it will be memory leakage.
You can verify on CLI, Continuously execution of something, Large no. of config then delete everything and verify.

But in stress, performance, tolerance scenario we should verify the memory leakage

Thanks & Regards
Whatifgame

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions