How to monitor system resources and prevent a crash? Let's say I want to monitor Winword.exe and if it consumes too much memory (random number of RAM, chosen by me), I want to save the document and alert the user Word will be closing in 30 seconds, then actually force Word to close.
Is this doable? I mean doable in the sense that I can actually execute a program that does this? I'm not considering factors like "maybe the user doesn't want to close at that very moment", "why would I want to do this?", etc...
Is this doable? I mean doable in the sense that I can actually execute a program that does this? I'm not considering factors like "maybe the user doesn't want to close at that very moment", "why would I want to do this?", etc...