This is the mail archive of the gcc-help@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]

Strange Memory Leakage


Dear all,

I am not sure whether this is an O/S problem or gcc problem but just want
to see if anyone has similar problem.

I am using gcc 2.95.2 on NCR MP-RAS 3.02.

The attached simple C++ programs keep leaking memory for each
pImpl->invoke(). I have checked that all destructors are called.


Any idea?

The first argument to first_server can be set to 100 - 1000 to magnify the
problem.

Any help is appreciated.

On my side, I am getting the original NCR C++ compiler to see if it also
exhibits the same behavior.

P.S. I am using ps -lef and sar to check memory used by the process and
overall memory on the system.

Regards

Alex

prob.tar.Z


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