0
0

More than 3 years have passed since last update.

AWS EC2で、MemoryError

Posted at

Pythonのpymagnitudeを使っていたところ..
こんなのがターミナルに出てきて、計算ができなくなりました。

MemoryError: Unable to allocate 1.51 GiB for an array with shape (1015474, 200) and data type float64

「インスタンスタイプの変更」で、今選んでるインスタンスのメモリより多い物を選びましょう。
そしたら解決しました。

以下のサイトにわかりやすく解説が載ってます。どうぞ。
https://www.atmarkit.co.jp/ait/articles/1407/15/news005.html

0
0
0

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
0
0