Increasing Executable Size

Mark Riehl (
Mon, 13 Dec 1999 04:24:14 -0500 (EST)


We're running stock Red Hat 6.1 (kernel 2.2.12-20). Our application is
network intensive - we act as a client to 6 servers (all TCP),
read and write multicast traffic, and listen to UDP network broadcast
traffic (*.*.*.255). It is written in C++, and we're heavy users of

Our executable size increases approximately 4 MB per hour. Our stripped
executable is about 1.3MB. We've checked our code with freeware
(LeakTracer, Fortify, and Electric Fence) and a commercial produce
(Insure ++ for Linux) and are confident that we don't have a leak (in
the traditional sense). By leak, I mean that there aren't any new()
calls w/o the corresponding delete() calls.

Has anyone experienced anything like this? We know that there was a
leak in the Red Hat 6.0 call gethostbyname(), and we've verified that
has been fixed (as we had heard) in 6.1.

But, our tools don't point out any leaks. Any suggestions how to best
approach this?

Someone suggested that there might be a problem in the compiler, so we
upgraded to 2.95.2 and still have the same problem.


Mark Riehl
The MITRE Corporation
(732) 389-6752

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to