# Bug or not

**URL:** <https://www.ruby-forum.com/t/bug-or-not/177947>\
**Category:** Rails\
**Created:** [October 27, 2009, 5:02am UTC](https://www.ruby-forum.com/t/bug-or-not/177947 "2009-10-27T05:02:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgreenly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/85f322/32.png) [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Post date:** [October 27, 2009, 5:02am UTC](https://www.ruby-forum.com/t/bug-or-not/177947/1 "2009-10-27T05: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:** ![mgreenly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/85f322/32.png) [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Post date:** [October 27, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/bug-or-not/177947/2 "2009-10-27T18:56:03Z")

</div>

Michael G. 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  
  
--~--~---------~--~----~------------~-------~--~----~  
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.   
 To post to this group, send email to removed\_email\_address@domain.invalid   
 To unsubscribe from this group, send email to removed\_email\_address@domain.invalid   
 For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en  
-~----------~----~----~----~------~----~------~--~---
