Way to send a growl notification when an application reaches a certain memory threshold

growlmemory

I've been noticing that Safari skyrockets in terms of memory usage. I've been getting some results by restarting it, but I'm wondering if there is an app or some easy script to run that would send a growl notification (or some other sort of notification) to inform me that it has reached, let's say 200MB, and then I would know that it might be time to restart it.

Best Answer

I found someone's brilliant solution to this exact request over on MacHints.

It's a four year old post, but the method should still work.