nanogui: Limitation on small memory system


Previous by date: 20 Nov 2000 14:41:16 -0000 Re: Limitation on small memory system, CCYau
Next by date: 20 Nov 2000 14:41:16 -0000 Re: Multiple famebuffer, Jordan Crouse
Previous in thread: 20 Nov 2000 14:41:16 -0000 Re: Limitation on small memory system, CCYau
Next in thread:

Subject: Re: Limitation on small memory system
From: Jordan Crouse ####@####.####
Date: 20 Nov 2000 14:41:16 -0000
Message-Id: <3A1938B8.EB9130CE@censoft.com>

I would limit it in the nanowm, that seems to be the most logical
location.  Of course, after the process is fired, you can't control how
much memory that particular application uses after it fires, so you
still might have a problem.

Jordan

CCYau wrote:
> 
> Hi,
>     Thanks for the replies. My concern is still on the criteria of limiting
> task. It seems that memory restriction is the best in limiting the task,
> i.e. if I can detect how many memory left, is it sufficient for a
> task/window, if not, I don't let the window start etc. But, how can I
> determines such parameters?
>     Or I simply limit in the nanowm that I can only open one or two task?
>     Thanks
>     CC
> 
> ----- Original Message -----
> From: Alex Holden ####@####.####
> To: CCYau ####@####.####
> Cc: ####@####.####
> Sent: Friday, November 17, 2000 11:01 PM
> Subject: Re: Limitation on small memory system
> 
> > On Fri, 17 Nov 2000, CCYau wrote:
> > >     It is found that if I open up more window in nano-X with the VTech
> > > Helio,  such as 5-6 nterm will halt the system. I have made a 2M RAM
> >
> > You can use setrlimit() to set a limit on how much memory you can use.
> > Bash has a built in function called ulimit which lets you set the resource
> > limits, or you could perhaps put a setrlimit() call in whatever program
> > you are using to start the terminals up.
> >
> > --
> > ------- Alex Holden -------
> > http://www.linuxhacker.org/
> >  http://www.robogeeks.org/
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ####@####.####
> > For additional commands, e-mail: ####@####.####
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

Previous by date: 20 Nov 2000 14:41:16 -0000 Re: Limitation on small memory system, CCYau
Next by date: 20 Nov 2000 14:41:16 -0000 Re: Multiple famebuffer, Jordan Crouse
Previous in thread: 20 Nov 2000 14:41:16 -0000 Re: Limitation on small memory system, CCYau
Next in thread:


Powered by ezmlm-browse 0.20.