check_nt_process argument for memory used

I would like to find out if anyone has created a check_nt_process function that will provide as a returned argument the amout of memory that particular process is using. I have an app that has a memory leak, and before it cripples the entire host, I want to be able to get an alert that let’s me know when it reaches a threshold of initially 350K and then Critical at 400K. This will allow me the time to refresh the service without the host being compromised. This service is running on a W2K3 standard SP2 host. Any feedback how anyone may have configured a plug-in (whether it’s this one or a custom plugin) I would be interested in knowing how it’s done.