memory allocation
Laczó Tibor
laczo.tibor@pro.hu
Fri Sep 12 13:18:00 GMT 2003
Hi!
I use Redhat Linux.
I have made a C++ program that uses a lot of memory. In the program i
have many objects. After the use of these object i use the 'delete'
command to deallocate the memory used by them.
I monitor the program during its working with the 'TOP' command.
The RSS value increases to 500-600M. The program ends his Job, but it
doesn't terminate, it is just in a pending status. But the RSS value is
still 500-600M.
The big objects are deleted in the program under the pending status.
What is the problem?
thanks,
Tibor
More information about the Gcc
mailing list