Can anyone point me to where to start?

Program in question is Opera 10 alpha which currently has a
problem with ram usage, it keeps growing as time goes by and
I need to restart it.

Since I like to use alpha's and beta's this will serve to future versions.
What I'd like to do is, 
when ram usage gets to x, offer me an option to close it in order
to save data, then restart it.
So, what do I need?

monitor the application
get ram usage values
if statement
and Do

Is that correct or I'm totally missing the point here?

Reply via email to