Re: Limit the memory for a child process



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
>


.



Relevant Pages

  • Re: Back to Being a Luddite (Oh Well)
    ... We had letter writing where you embedded the ... viruses in emails. ... CD- recorder "helpers" that sit in your system tray consuming memory ... system tray apps don't consume cycles. ...
    (comp.dcom.telecom)
  • Re: Limit the memory for a child process
    ... >I am writing a system that needs to start other applications, ... >the amount of memory these child processes can consume. ...
    (microsoft.public.vc.language)
  • Limit the memory for a child process
    ... I am writing a system that needs to start other applications, ... I would like to be able to restrict ... the amount of memory these child processes can consume. ...
    (microsoft.public.vc.language)
  • Re: Limit the memory for a child process
    ... > I am writing a system that needs to start other applications, ... > the amount of memory these child processes can consume. ...
    (microsoft.public.vc.language)
  • Re: Limit the memory for a child process
    ... You can cap the maximum abount of virtual memory ... > I am writing a system that needs to start other applications, ... > the amount of memory these child processes can consume. ...
    (microsoft.public.vc.language)