I agree that swap is practically a requirement. In my case, I am
building an embedded system that uses a flash drive to store the
system. I want to avoid swap space because I'm concerned about
aggressive swapping onto a device that has a realistic limit to
the number of write cycles before failure. I'm writing application
code that recognizes a lack of available RAM as a soft error. My
real concern is that the kernel may have greater difficulty in
handling periods of low resources.
Any ideas regarding the tendency of the kernel to crash when memory
runs low?
michael
Hamish Moffatt wrote:
>
> Having said that, it's not a good idea. If you can spare any space at all,
> swap is an excellent idea. If you run out of memory (virtual or physical),
> programs will die. If you run out of physical memory, they go to swap.
> The relative speed of swap should ensure you never fill it.
>
> Hamish
>
> --
> Hamish Moffatt Mobile: +61 412 011 176 [EMAIL PROTECTED]