ec2 메모리 증설 및 프리티어 사용 시 메모리 부족 현상 해결

나의 재물운? 연애운은?

AI가 봐주는 내 사주팔자 - 운세박사

https://aifortunedoctor.com/

ec2 메모리 증설 및 프리티어 사용 시 메모리 부족 현상 해결

영리치 0 1,620 2022.07.12 02:31

React 빌드 시


the build failed because the process exited too early. this probably means the system ran out of memory


위와 같은 문구가 뜨거나


creating an optimized production build...


뜨면서 멈추는 경우에는 메모리가 부족한 것이다


이때에 하드디스크를 메모리로 써주면 된다



잘 정리된 링크들


https://progdev.tistory.com/26


https://12bme.tistory.com/206


이걸 SWAP 메모리라고 하나 보다


우분투에서 현재 메모리 상태 보기

free -m



230901 수정

경험상

sudo dd if=/dev/zero of=/mnt/swapfile bs=1M count=8192

하여서 8GB 주는 게 좋아보임

Comments

나의 재물운? 연애운은?

AI가 봐주는 내 사주팔자 - 운세박사

https://aifortunedoctor.com/

Category
실시간 인기글
난 아버지처럼 되지 않을래요
영리치
등록된 글이 없습니다.
Magazine
훈남/훈녀
 
 
 
상점
Facebook Twitter GooglePlus KakaoStory NaverBand