nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: Limitation on small memory system
From: Alex Holden
Date: Fri, 17 Nov 2000 15:01:27 +0000 (GMT)

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/



nanogui@linuxhacker.org