This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

memory allocation


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]