G
Guest
Hi,
I was trying to write an application which would start a new process. But
the problem is, I want to put a limit on the size of stack and heap for the
process. In case the given limit is exceeded, I would like the process to
terminate.
I guess, I should try using System.Diagnostics.Process class. There is
MaxWorkingSet property, but I am not sure, if that is what I need. And again,
it can only be set after the process is started -- not the thing I need.
Any ideas?
Regards,
Mantas
I was trying to write an application which would start a new process. But
the problem is, I want to put a limit on the size of stack and heap for the
process. In case the given limit is exceeded, I would like the process to
terminate.
I guess, I should try using System.Diagnostics.Process class. There is
MaxWorkingSet property, but I am not sure, if that is what I need. And again,
it can only be set after the process is started -- not the thing I need.
Any ideas?
Regards,
Mantas