[omniORB] Severe memory leak?

Jan Lessner jan@c-lab.de
Fri, 11 Dec 1998 16:48:41 +0100


Hello omniORB experts
I just walked through my omniORB 2.6.1 applications with Purify on
Windows NT and discovered a memory leak which I'm not sure wether it is
a severe one or not. The stack was printed as follows:

    Distribution of leaked blocks
    Allocation location
        new(UINT)      [msvcrt.dll]
        ??0reliableStreamStrand@@QAE@IPAVRope@@_N@Z [omniORB260_rt.dll]
        ??0NetBufferedStream@@QAE@PAVRope@@_N1I@Z [omniORB260_rt.dll]

There were 8200 bytes leaked and the same thing was reported several
times. As far as these allocations occur onle once in the programms
livetime, I don't bother. However, I'm not sure if this is the case,
especially in conjunction with omniORB's connection scavangers. Maybe
any of you experts can tell from the printout already if something went
wrong here.

Regards,

	Jan Lessner, C-LAB


PS: I must admit, the stack trace is somewhat ugly. If it's mangeled too
much, I could try to produce a nicer one with debugging symbols.