Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Memory Leak checking via shell

Options
  • 04-03-2015 5:44pm
    #1
    Registered Users Posts: 5,533 ✭✭✭


    I have some processes running and want to periodically check that they dont go over 90% of their max heap size.

    So to do this i need...

    1) The process id
    2) The max heap size of the application

    Is there a unix/shell command to get #2 below. Once i have this i can do the simple maths to alert if the process goes over the 90%, thus spotting a likely memory leak.


Advertisement