- Newest
- Most votes
- Most comments
CPU nearly 0%, memory is full... So I created a swap file of 1GO which is also full... But I don't understand why because it's simply a node command, I mean I'm not compiling C++ code, it's only a node build command that even my old laptop would do.
I also had to add max-old-space-size=1536 to my build command because without it, it will crash. Which is odd because previous server I didn't have this problem.
Maybe it can help you those informations? Bigger swap file? But I feel like I'm not fixing the real problem by doing this. Why a 1go Ram and 1 CPU cannot build a simple node application without crashing and without having to make a swap file and a max-old-space-size=1536 command?
The problem of memory capacity seems to be significant, since the system creates a swap area and uses a large amount of memory there as well.
Would it be possible for you to check what would happen if we switched to 2 GB to increase the performance of Lightsail?
Relevant content
- asked 2 years ago
