I can not IEx into my App.

I follow the documentation and try to IEx to my App but fail.

Following is the screenshot.

How do I solve the issue?

Do you see Out of memory entries in fly logs?

I get that same error message when I deliberately provoke an OOM situation within iex:

fly ssh console --pty -C "/app/bin/myappname remote"
Connection to fdaa:3:4:5::2... complete
Erlang/OTP 25 [erts-13.0.3] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1]

Interactive Elixir (1.14.3) - press Ctrl+C to exit (type h() ENTER for help)
iex> length(List.duplicate(3, 1000000000))
*** ERROR: Shell process terminated! (^G to start new job) ***
Error: ssh shell: wait: remote command exited without exit status or exit signal

(A few lines elided or simplified.)

1 Like

Many thanks for your reply.

Yes, I got Out of memory entries in fly logs

I execute fly scale memory 512, and solve the issue.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.