# Bug or not

**URL:** <https://discuss.rubyonrails.org/t/bug-or-not/47122>\
**Category:** rubyonrails-talk\
**Created:** [October 27, 2009, 4:02am UTC](https://discuss.rubyonrails.org/t/bug-or-not/47122 "2009-10-27T04:02:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [October 27, 2009, 4:02am UTC](https://discuss.rubyonrails.org/t/bug-or-not/47122/1 "2009-10-27T04:02:54Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Norm2](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@Norm2](https://discuss.rubyonrails.org/u/Norm2)\
**Post date:** [October 27, 2009, 5:54pm UTC](https://discuss.rubyonrails.org/t/bug-or-not/47122/2 "2009-10-27T17:54:21Z")

</div>

Michael Gao wrote:

> ```ruby
> 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
