LoginSignup
4

More than 5 years have passed since last update.

EC2 microでElasticsearchコマンドが立ち上がらない

Posted at

現象

タイトルの通り.ログは以下

STATUS | wrapper  | 2013/07/11 11:47:35 | Launching a JVM...
ERROR  | wrapper  | 2013/07/11 11:47:35 | JVM exited while loading the application.
INFO   | jvm 5    | 2013/07/11 11:47:35 | Error occurred during initialization of VM
INFO   | jvm 5    | 2013/07/11 11:47:35 | Could not reserve enough space for object heap

原因

microインスタンスにはswap領域がない.

解決策

AWS - 1分でできる!AmazonEC2のmicroインスタンスでswap領域を作る - Qiita

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4