# Killed when bundle exec rake themes:update assets:precompile

**URL:** https://meta.discourse.org/t/killed-when-bundle-exec-rake-themes-update-assets-precompile/294154
**Category:** Self-hosting
**Created:** [February 5, 2024, 7:19am UTC](https://meta.discourse.org/t/killed-when-bundle-exec-rake-themes-update-assets-precompile/294154 "2024-02-05T07:19:07Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [February 5, 2024, 7:34am UTC](https://meta.discourse.org/t/killed-when-bundle-exec-rake-themes-update-assets-precompile/294154/3 "2024-02-05T07:34:26Z")

</div>

> [@paojiao](#):
>
> `error Command failed with exit code 137`

This is an ‘out of memory’ error. There have been a few topics about this recently. You may need to upgrade your specs, though there are also a couple of things you could try before making a permanent change:

> [@Precompiling assets takes 20 minutes](https://meta.discourse.org/t/precompiling-assets-takes-20-minutes/291156/19):
>
> Indeed that’s an out of memory error. If you have the disk space to add swap, that will be enough, although the process will take more time than if you were to add RAM. Your hosting provider might offer the chance to upgrade RAM temporarily and then revert, which will probably cost you a couple of reboots, a little down time, and a few cents of extra cost. Edit: to be clear, memory = RAM + swap. RAM is fast and swap is cheap.

---

_[View the full topic](https://meta.discourse.org/t/killed-when-bundle-exec-rake-themes-update-assets-precompile/294154)._
