T
Termux2mo ago
Juhan280

unable to run erlang after otp 27 update

I recently upgraded all my packages which also upgraded erlang to 27. But now it stopped working. I have no idea how to fix it or roll back to erlang 26
No description
10 Replies
Biswa96
Biswa962mo ago
Could you create an issue in termux-packages repository in github? I can reproduce the issue in my phone also.
Komo
Komo2mo ago
you're on low memory, Erlang need free RAM space for it to run even before Erlang/OTP 27, this has been a known issue for a while
Biswa96
Biswa962mo ago
has it been reported in github? or, everyone just know that.
Komo
Komo2mo ago
it's a known issue even outside Termux you can apply a workaround by having swap space or free some apps/processes from your phone
Juhan280
Juhan2802mo ago
Idk, But it was working fine before And..how much memory does it need
Komo
Komo2mo ago
¯\_(ツ)_/¯ last time i got that when i have usage of 1,4gb memory erlang probably need around 500-800mb
Juhan280
Juhan2802mo ago
Wtf, why so much What does it even do with that much memory I can't find any discussion related to this online. Can you provide a link
Komo
Komo2mo ago
i don't remember exactly, it's probably in erlang forum site. but i remember erlang will produce an erl_crash.dump if it's low on memory and then throw bunch of nonsense error, i guess it's different in OTP 27 now
Juhan280
Juhan2802mo ago
I don't think those two errors are related. The error you are mentioning happens when my code uses too much memory. But this is not the case here. I can't even run any erlang binary let alone use too much memory Can you tell me how can i roll back to otp 26
Biswa96
Biswa962mo ago
creating an issue really helped https://github.com/termux/termux-packages/pull/20333 Thank you.