Bug or not

I update rails from 2.0.2 to 2.2.3, and I start server by ruby script/server or mongrel_rails. But when I use my system, for test of view, the system often exit auto and report a failed to allocate memory. I try to change the enviroment, then I found something. I have installed ramdisk on my computer, if I remove it, the rails seemed normal, but if I reinstall the ramdisk, it reopot error and exit often. It's bug or not?

Michael Gao wrote:

I update rails from 2.0.2 to 2.2.3, and I start server by ruby
script/server or mongrel_rails. But when I use my system, for test of
view, the system often exit auto and report a failed to allocate memory.
I try to change the enviroment, then I found something. I have installed
ramdisk on my computer, if I remove it, the rails seemed normal, but if
I reinstall the ramdisk, it reopot error and exit often.
It's bug or not?

I would think that when you have a ramdisk it takes up a lot of your ram and you are trying to swap pages out and for some reason that is not working. Maybe you do not have a swap space allocated. You do not say how much ram you have or how big the ramdisk. I imagine the system increased a bit in memory requirements from 2.0.2 to 2.2.3 which is instigating your problem. I would not use ramdisk unless you will have at least 2G left after running the ramdisk.

YMMV

Norm