what is memory leakage?

Answers were Sorted based on User's Feedback



what is memory leakage? ..

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

what is memory leakage? ..

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

what is memory leakage? ..

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

what is memory leakage? ..

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

what is memory leakage? ..

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

what is memory leakage? ..

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

what is memory leakage? ..

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

what is memory leakage? ..

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

what is memory leakage? ..

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

what is memory leakage? ..

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

Post New Answer

More QTP Interview Questions

Hi Friends,I hav Just finished QTP course.Can any body suggest me which is the best place to go and post resume(Ban,Chennai,Pune,Mumbai,NCR,Kolkata).I mean how r calls in these cities,the best one?

3 Answers  


Explain the use of action split in qtp?

0 Answers  


WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT

3 Answers   Wipro,


What is the use of low level recording? How does it useful?

1 Answers  


How to record object in runtime. I am testing one Image website in which every time image change on home page.so if i records the image list but during running image get change, and QTP gives error

1 Answers  






i have to pass the testcases into userid anf password of gmail login page using functions you can take your own testcaseslike userdid should take only lowerletters it should not take special charactors and uppercase letters and password should take only numericvalues it should not take alphanumeric and alphabets

2 Answers  


WHO TAKE DECISION TO RELEASE THE BUILD

2 Answers   IGT,


What is qtp window?

0 Answers  


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

0 Answers  


if there is two login button in your page, how you know that this login button is correct for login .

2 Answers  


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

0 Answers  


hi guys this is Keerthi, I am searching for job,so I want to know which questions are intervier asking on QTP&MANUAL&QUALITY CENTER,can u send Any one questions&Answers to my id:chinna.ammi@yahoo.co.in

8 Answers  


Categories