Cloud9 is out of memory: Rails tutorial memorandum

Cloud9 is out of memory: Rails tutorial memorandum

The following message appears on Cloud9 and the console freezes

This environment is running low on memory (132 MB of virtual memory left). To free up memory, kill processes by choosing "Tools > Process List" in the menu bar. To migrate this environment to one that has more memory, ...

Solution

Restart your EC2 instance

Background

Rails Tutorial Chapter 13 In Progress I'm not sure about the trigger, but when I run Test

... Missing helper file helpers/microposts_helper.rb ...

So that an error such as

What to do when AbstractController :: Helpers :: MissingHelperError: Missing helper file occurs in Ruby on Rails --Qiita

Because there was an article saying that bundle update should be done I tried it

The above notification will appear on Cloud9 ...

There is not much information even if I try to google I thought about rebuilding the environment using Docker, which I wanted to try.

After all, restarting the EC2 instance solved both of them.

Reboot Instance --Amazon Elastic Compute Cloud

Nowadays, Cloud9, an online IDE, Provided by EC2 services that are part of AWS You're running on a virtual server (this is an EC2 instance)

I was delighted that the word instance became familiar to me. It was a learning that broadened my horizons about the big picture of AWS.

Recommended Posts

Cloud9 is out of memory: Rails tutorial memorandum
Rails tutorial memorandum 1
Rails tutorial memorandum 2
Rails Tutorial Memorandum (Chapter 3, 3.1)
Rails Tutorial Records and Memorandum # 0
[Rails] Implementation of tutorial function
What to do if Cloud9 is full in the Rails tutorial
What is follow_redirect! Following ?: Rails Tutorial Memorandum-Chapter 7
rails tutorial
Is the path helper (_path) returning a relative path? Absolute pass? : Rails tutorial memorandum
rails tutorial
[Cloud9] Yay! You ’re on Rails! Is not displayed in the rails tutorial
rails tutorial
[Ruby on Rails] A memorandum of layout templates
rails tutorial Chapter 1
rails tutorial Chapter 7
rails tutorial Chapter 5
rails tutorial Chapter 10
rails tutorial Chapter 9
rails tutorial Chapter 8
[Beginner] Rails Tutorial
I can't get out of the Rails dbconsole screen
[JVM] Let's challenge OOM (Out Of Memory) failure response