# 메모리 부족으로 3.2.0.beta3-dev에서 3.2.0.beta3 업그레이드 실패

**URL:** <https://meta.discourse.org/t/upgrade-from-3-2-0-beta3-dev-to-3-2-0-beta3-failed-due-to-out-of-memory/286643>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [11월 26, 2023, 6:00오후 UTC](https://meta.discourse.org/t/upgrade-from-3-2-0-beta3-dev-to-3-2-0-beta3-failed-due-to-out-of-memory/286643 "2023-11-26T18:00:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![andreid](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andreid](https://meta.discourse.org/u/andreid)\
**Post date:** [11월 26, 2023, 6:00오후 UTC](https://meta.discourse.org/t/upgrade-from-3-2-0-beta3-dev-to-3-2-0-beta3-failed-due-to-out-of-memory/286643/1 "2023-11-26T18:00:01Z")

</div>

안녕하세요,

프롬프트에 따라 3.2.0.beta3-dev에서 3.2.0.beta3로 업그레이드를 시도했는데, 에셋의 엠퍼(ember) 빌드 중 메모리 부족으로 인해 Discourse 인스턴스가 손상되었습니다. `./launcher rebuild app` 명령을 실행해도 동일한 결과가 나타났습니다.

```plaintext
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0xb83f50 node::Abort() [ember]
 2: 0xa94834 [ember]
 3: 0xd647c0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [ember]
 4: 0xd64b67 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [ember]
 5: 0xf42265 [ember]
 6: 0xf5474d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [ember]
 7: 0xf2ee4e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [ember]
 8: 0xf30217 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [ember]
 9: 0xf113ea v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [ember]
10: 0x12d674f v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [ember]
11: 0x17035b9 [ember]
Aborted (core dumped)
error Command failed with exit code 134.
I, [2023-11-26T17:19:26.345389 #1] INFO -- : yarn run v1.22.19
$ /var/www/discourse/app/assets/javascripts/node_modules/.bin/ember build
Environment: development
WARNING: ember-test-selectors: You are using an unsupported ember-cli-babel version. data-test properties are not automatically stripped from your JS code.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

```

비영리 단체를 위해 1GB 메모리를 가진 DigitalOcean 인스턴스에서 실행 중이라, 메모리를 늘리기 위해 리사이즈할 여유가 없습니다. 1GB는 Discourse의 최소 사양이며, 이전 버전들은 문제없이 실행되었습니다. 다시 정상적으로 실행할 수 있는 방법에 대한 아이디어가 있을까요?

---

_[View the full topic](https://meta.discourse.org/t/upgrade-from-3-2-0-beta3-dev-to-3-2-0-beta3-failed-due-to-out-of-memory/286643)._
