what is memory leakage?

Answer Posted / sandeep

At application point of view:
Actually, when we allocate the memory dynamically to the
object and some how lose the way to reach that memory is
called memory leakage.

For example: Suppose there is function where in we
allocate the memory dynamically and store it's address in a
pointer that is local to that function. When the control
returns from the function, the local pointer dies and
losing the address of that memory but dynamically allocate
memory would continue to remain allocated yet inaccessible.
This allocated memory is called memory leakage.

Is This Answer Correct ?    25 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...

2399


What is the limitation to XML Checkpoints?

1605


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1431


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

1397


How qtp identifies objects?

571






i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)

1555


How to data driven test for Win objects in QTP ?

1477


Explain hybrid framework with advantages and disadvantages?

543


Define virtual object?

610


What are the types of object repositories? Which one is you using?

621


Explain how Does Run time data (Parameterization) is handled in QTP?

559


What is Curd testing?

1884


Where we use data driver in qtp?

613


How can you exit from an action?

612


what is the difference between built-i function and In-built function?

1634