This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
memory allocation
- From: Laczó Tibor <laczo dot tibor at pro dot hu>
- To: gcc at gcc dot gnu dot org
- Cc: gcc-digest at gcc dot gnu dot org
- Date: Fri, 12 Sep 2003 15:11:29 +0200 (CEST)
- Subject: memory allocation
- Reply-to: Laczó Tibor <laczo dot tibor at pro dot hu>
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