Re: Limit the memory for a child process
- From: "Bonj" <a@xxxxx>
- Date: Mon, 2 May 2005 21:40:25 +0100
or better still maybe even VirtualProtectEx...
"Lenard Gunda" <arthur.darkholme@xxxxxxxxxx> wrote in message
news:%23wNRQY1TFHA.2172@xxxxxxxxxxxxxxxxxxxxxxx
> Hi
>
> I am writing a system that needs to start other applications, and needs to
> evaluate those applications. However, I would like to be able to restrict
> the amount of memory these child processes can consume.
>
> What I need is: before or after the process is created, I would like to
> set a memory limit (like 16Mb, 64Mb, etc) on the child process. The child
> process should not be able to consume (allocate) more memory, be it real
> or virtual, than this limit.
>
> Is this possible in any way?
>
> Thank you
>
> -Lenard
>
.
- References:
- Limit the memory for a child process
- From: Lenard Gunda
- Limit the memory for a child process
- Prev by Date: Re: Limit the memory for a child process
- Next by Date: Re: Limit the memory for a child process
- Previous by thread: Re: Limit the memory for a child process
- Next by thread: Re: Limit the memory for a child process
- Index(es):
Relevant Pages
|