I have an api that gives certain data when passed an id.
I am able to fetch data as expected for all other ids but except the id=3.
The error is below
Crash dump is being written to: erl_crash.dump...
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
[os_mon] memory supervisor port (memsup): Erlang has closed
Number of rows for that id is 299 rows with other table having relation with this table.
For others it is working perfectly fine.
Is the issue related to memory management or timeout.
Approximately the response size might around ~ 15 MB
think you need to post first parts of the crash dump (clean it up for any sensititve stuff) - also monitor computer during the crash ? does it saturate the cpu? does it run out of memory?
Hi @sahilpaudel did you find the solution to your issue? I also ran into this problem recently. My case is when I call HTTPoison.post to some specific URL, then the app crashes.
iex(23)> HTTPoison.post("some_url", body)
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
[os_mon] memory supervisor port (memsup): Erlang has closed