NotebookForums.com › Forums › General Notebook Discussions › Notebook Forums - General › Memory Leaks and Hardware Issue
New Posts  All Forums:Forum Nav:

Memory Leaks and Hardware Issue

post #1 of 3
Thread Starter 
I have a DELL XPS M1530 w/ these specifications:
Intel T9300
4GB DDR2 RAM
200GB 7200rpm harddrive
GeForce 8600M GT 256MB DDR3
Vista Ultimate

I am programming Visual C++ using Visual Studio 2008.

Sometimes I experience memory leaks detection.

Is it ok for the hardware if I have any memory leaks?

Or it is harmful? If it is harmful, what component does memory leaks affecting? Is it the physical RAM itself or what?

Thank you very much.
post #2 of 3
A memory leak occurs when a program allocates memory from the heap (or free store) and then the variable (or pointer) goes out of scope and does not release the memory back to the heap. Basically stated if the leaks continue you will eventually run out of memory until the program ends potentially causing a crash of the program. It does no physical harm to the RAM it is just a programming problem. Clean up your code and the leaks should end.
post #3 of 3
Thread Starter 
O...I see..In reality, how does the application I developed allocate place in memory? If my physical RAM is 4GB and my app needs for example 1GB, then my RAM is 3GB when my app ran?

Or how?

Ok I thought it would damage something.

Thanks.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Notebook Forums - General
NotebookForums.com › Forums › General Notebook Discussions › Notebook Forums - General › Memory Leaks and Hardware Issue