[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Prevent slot from re-entering pool after Shadow exception/cannot allocate memory

On 03/08/2017 09:21 AM, Zell, Wesley wrote:
Re: the potential memory leak - I have wondered about this a few times but given my skill set haven't figured out how to identify it.  Should the log file memory metrics (e.g., memory usage of job, resident size of job, usage/request/allocated) tell me if there is a memory leak?

It will tell you if memory usage is growing, but not if it is because of a bona-fide leak.  valgrind is a great tool to help finding leaks, but if you are running code that you didn't write, doing something about the memory leak may be a challenge.