Operating System - Linux
1748116 Members
3457 Online
108758 Solutions
New Discussion

Re: Wondering how to use glanceplus to detect if a shared object has memory leak?

 
kraft
Occasional Contributor

Wondering how to use glanceplus to detect if a shared object has memory leak?

Thanks!
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Wondering how to use glanceplus to detect if a shared object has memory leak?

What do you mean by a shared object? Something in shared memory? Accessed with mmap or shmat?

Or did you really mean shared lib?

For the former, objects can't leak but can be leaked.

For the latter you can use gdb leak detection options on your application.