rails assets pipeline “Cannot allocate memory - nodejs”

后端 未结 5 1472
野趣味
野趣味 2020-12-14 16:01

we\'ve just upgraded to Rails 3.2.5 from Rails 3.0.7 and using the assets-pipeline compilation on the fly for the staging server, but some times we face this exception !

5条回答
  •  星月不相逢
    2020-12-14 16:32

    We contacted the provider's support, and they are responded in 2 messages like this:

    1. There are two things that can be causing this: Either you are indeed running out of memory constantly or your Webby doesn’t have swap configured.

    We have a sysadmin checking it and we’ll respond to your ticket soon.

    1. Your swap was disable for some reason, and that is why you were having memory issues. I fixed the fstab entry, and enable the swap on the right partition. You should be fine now.

    And until now this error does not show :) Hope it will keep not showing for the future too ...

    Thanks, and best of LUCK ...

提交回复
热议问题