I'm a little unclear about memory allocation in Windows 2000.
I run a function that allocates a large amount of space to data in memory and, as the data builds, I watch the amount of used memory rise in Task Manager.
I know that, at the end of the function, the data objects are destroyed and yet the graph line in Task Manager does not fall. Only when the app is closed does the line fall.
Having been allocated to the app, does the memory remain allocated to it, even though the occupying objects have been deleted? And if so, what happens if another app wants more memory than is available outside this memory allocated to the first app?
I'm running Win2000pro on a P3 450 with 640MB of RAM.
Thanks in advance for any help.
Gerry.
I run a function that allocates a large amount of space to data in memory and, as the data builds, I watch the amount of used memory rise in Task Manager.
I know that, at the end of the function, the data objects are destroyed and yet the graph line in Task Manager does not fall. Only when the app is closed does the line fall.
Having been allocated to the app, does the memory remain allocated to it, even though the occupying objects have been deleted? And if so, what happens if another app wants more memory than is available outside this memory allocated to the first app?
I'm running Win2000pro on a P3 450 with 640MB of RAM.
Thanks in advance for any help.
Gerry.