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
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
How to execute a winrunner script in quicktest professional?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
What are the advantages of qtp?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
Explain how you can find the absolute value of the number in qtp?
what is the structure for the data driven framework
What is difference between Recording time object identification and Run time (Execution) time.
For which type of project the iterative model is suitable?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
How to capture all the data of a webtable, weblist and combolist using QTP?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
Is it possible to use two instances of UFT on the same machine? If not why?