Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

wt is memory leakage?

Answer Posted / deven

When a program needs to store some temporary information
during execution, it can dynamically request a chunk of
memory from the system. However, the system has a fixed
amount of total memory available. If one application uses
up all of the system’s free memory, then other applications
will not be able to obtain the memory that they require.
The implications of a “memory starved” application can
range from a graceful shutdown to an unexpected crash. Most
large scale applications regularly request memory, so
running out of system memory tends to have a domino effect.
Even if the applications do not terminate, the system will
slow down to a crawl—or even hang—in low memory conditions.
Clearly, none of these results are desirable, so the system
never wants to run out—or run low—of memory.

It is the responsibility of each application to “free”
dynamically requested memory when they are finished using
it. Freeing the memory returns it to the system, where it
can be re–allocated to another application when needed.
When an application dynamically allocates memory, and does
not free that memory when it is finished using it, that
program has a memory leak. The memory is not being used by
the application anymore, but it cannot be used by the
system or any other program either.

Memory leaks add up over time, and if they are not cleaned
up, the system eventually runs out of memory. Most everyone
has seen the “Your computer is running low of virtual
memory” message box on Windows when memory gets too high.
It is typically accompanied by horribly slow response time,
and often the user can’t even close the wasteful
application because of this sluggishness. The only response
at that point is to reboot the computer.

Memory leaks are bad on any system. For the automotive
platform, however, they become much more of a significant
problem. This is due to the following:

•Applications stay in memory when not in use. Typically,
the operating system can clean up after a program which
leaks memory after it terminates. However, since we do not
allow the users to easily shut down automotive
applications, Windows CE cannot clean up after any ill–
behaved applications.
•System run–time is expected to be unlimited. If all else
fails, a system reboot will clean up all memory leaks.
However, although we do support system reboots, our goal is
that the user will never need to do so. Since you do not
need to “reboot” your car stereo every few weeks because it
stops working, or because the performance becomes poor, it
is unacceptable to need to do so on the automotive platform.
•Systems typically have lower total available system
memory. Desktop applications can get away with being sloppy
with memory when they run on systems with 64 megabytes of
RAM and more, and with large hard drives to store swapped
out virtual memory pages. But the automotive platform may
have only 16 megabytes total memory, and that includes
process and storage memory together! In order words, that
memory must store what would be in RAM on a desktop PC, as
well as what would be on the hard drive. System memory is
at a premium.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does it mean when a check point is in red color? What do you do?

1077


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

2064


Suggest and Define a solution for an application whose objects are not recognized by UFT?

1101


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

1811


write the vb script for call to new action in qtp?

2283


What is action? How many types of actions are there in qtp?

1092


What is QTP testing process?

1079


What are the key elements available in test result window?

1162


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

2130


If the objects hierarchy is changing from build to build, then how you will handle that condition?

1051


What is the significance of “action 0” in qtp?

1051


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

1185


When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2908


What is the difference between the keyword view and expert view?

962


If I change the object name in one action will it be updated in all the actions? Or not?

1066