Strange Memory Leakage
Task Consultants Ltd.
alexchan@task.com.hk
Wed Jul 19 00:51:00 GMT 2000
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prob.tar.Z
Type: application/x-compress
Size: 2831 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20000719/01cc2165/attachment.bin>
More information about the Gcc-help
mailing list