what is memory leakage?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / smriti
A bug in a program that prevents it from freeing up
allocated memory which is no longer needed. As,the program
grabs more and more memory until it finally crashes because
there is no more memory left.
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / narendra
If a program is using any variable during its execution,
then the memory allocated for that variable should be
released after every usage of the variable. If the occupied
memory is not released and the same program run several
times then the allocated memory will be filled. So the
program execution will fail at some point since there is no
memory available for the variable.
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / ukumar
after long time scrit execution , we r getting memory
leakage issue.
why it happens?bcoz using a variableif memory will not free
or released , it will create memory leakage.
there is no chance of memory leakage ,if dynamic memory
allocation occurs.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / naren(9845455756)
in stress testing we try with abnormal inputs to test the
stability of our paplication for a long time.
a buffer overflow occurs when a program or process trys to
store more data in a buffer than it was intended to hold.
since buffer are crated to contain a finite amount of
data,the extra information which has to go some where,can
over flow into adjacent buffer.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / mangai
When a system does not correctly manage its memory
allocations, it is said to leak memory. A memory leak is a
bug. Symptoms can include reduced performance and failure.
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / swapnali
when you allocate memory for any object and do not
deallocate that memory then memory leakage occure
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vanshika
A MEMORY LEAKAGE IS THE GRADUAL LOSS OF AVIABLE MEMORY . WHEN A PROGRAM REPETDLY FAILS TO RETURN MEMORY THAT IS ODTAINED FROM FOR TEMPORARY USE .
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vikram
memory lak ocurs when a program consumes memory but is
unable to release it back to operating sysrem.
It happens when you allocate memory for something and you
forget to free that memory after usage.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vens
When the application or program is running, dynamically some memory will be using,After completion of execution a program or application the corresponding memory should be free. Otherwise when next time execute of application getting errors.(because memory is already full).this is called memory leakage.
| Is This Answer Correct ? | 0 Yes | 0 No |
After geting the modules where we generate the script ie in qtp or notpad ?
WHat is Object Identification and Object Spy?
My Application is a client server application , but there is one functionality , when we click on one particular icon it launches web browser . When I am recording in QTP , By select approprait web add in also , it not able to record in web page , I am able to record till click on the icon. Please provide me how to over come this type of problem.
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761
what is framework? which frame work u follow for writting script?
IN EXCEL SHEET OF qtp SUPPOSE I ENTERED 10 NUMBERS RANDOMLY I HAVE TO GET TOTAL OF TEN NUMBERS IN THE 11 COLUMN USING qtp GIVE CODE TO IT USING qtp
can anyone please tell me which is the best institute for learning QTP and Automation Testing tools in hyderabad with realtime examples and scenarios...I heard about many institutes in Ammerpet hyderabad i.e Suresh Reddy's Smart Solutions, Ashwin Palaparthi's Tech Teach,SUNNYSOFT, SITE institute, I-VINTAGE, siritechnologies and sriven institute..pls suggest me which to choose for learning QTP....Which institute has fasttrack option?
how can i change the action path that called in other action. when i copy one action to other pc,the action"test2" calls another action(C:\test1\action0),and i update this"test1",the folder update to "action1",but when i open "test2", it just point the call path to "C:\test1 \action0", but does not update to "action1",and the change i make can be shown in test2. so, can i update the call path manully? thanks
What is a Web Table?
what are the challenges do we face while testing webbased applcations using the automation tool QTP or any?
how do u retrieve data from a database ? i.e. i want to retrieve 2nd record only from a database ? write code for this. by using ADODB connecton, RSOBJ and using a FOR loop we can retrieve all the records( ex: if we give query as select * from emp). but i want only 2nd record. so how to acheive this.
the develeper not accepter your defect what status is that ?