# זיכרון RAM של JavaScript אזל עקב Ember CLI

**URL:** <https://meta.discourse.org/t/javascript-heap-out-of-memory-due-to-ember-cli/217258>\
**Category:** Self-hosting\
**Created:** [6 בפברואר,‏ 2022,‏ 3:54pm UTC](https://meta.discourse.org/t/javascript-heap-out-of-memory-due-to-ember-cli/217258 "2022-02-06T15:54:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ClubmanPlus850](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@ClubmanPlus850](https://meta.discourse.org/u/ClubmanPlus850)\
**Post date:** [6 בפברואר,‏ 2022,‏ 3:54pm UTC](https://meta.discourse.org/t/javascript-heap-out-of-memory-due-to-ember-cli/217258/1 "2022-02-06T15:54:09Z")

</div>

Hi!

I am trying to install Discourse to a minimal server 2vCPU / 1GB / 40GB (I don’t anticipate it will have much use, and cutting my costs)

I have been able to install Discourse previously on such an instance, but today I am getting these errors - I have searched the forum but haven’t seen anyone else report it

```plaintext
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
...
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.

```

I ran discourse-doctor as recommended by the script; it detected discourse was not running so started a rebuild, but the result is the same

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 1117 exit 1>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
553da25c117d42161ef95845c6876a32810feaa4b5e651ac8118981884933982
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
==================== END REBUILD LOG ====================
Failed to rebuild app.

```

---

_[View the full topic](https://meta.discourse.org/t/javascript-heap-out-of-memory-due-to-ember-cli/217258)._
