strange problem with memory leaks

Hi Unix lovers,

I am facing a strange problem about memory leak. One component of our product show memory leak at customer's end but not in development environment. The memory used by the exe goes on increasing at customer end but not in dev.

customer has same m/c(HP unix 11i) , the same binaries as we have at dev environment.

The difference is that we have different pathces(as shown by show_patches script) as that of customer's.

Is there any way I could know which patches prevent memory leaks? What else can be done to have the same issue on our end so we can debug it.

Any pointer would be much useful...

Thanks in advance,
-Ashish

It's likely not a patch problem, especially if you shipped binaries to the customer. It's your code.

Have you used electric fence and valgrind to evaluate memory leaks?
See Perderabo's FAQ on the HP download centre for gnu software. There are HPUX binaries.

see The HP-UX Porting and Archive Centre