--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/180ad6f6-d7f5-44e2-9b56-14b59eda8ad4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-talk/XXtNWHhDWrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4LSV5FjfhZiHD22HPh_hGrMerARqCv%3DQ38Dw2F4oeQBmg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CALGWU%3DYrwfMDwWt6Yp%2B3EVFtiC4JV3-D6Q2r1U5qubGa1e4mEw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4Jk5AqKg3D4Z97mTL32hRYa87M8O5J%3D9XPefFWAGZdL6Q%40mail.gmail.com.
Thanks for your attention!I will try to dig it further. I will debug more thoroughly. Perhaps the nifs in comeonin lib?Yeah I've seen hex_web repo :D Great source of inspiration!I have also read that book :D Mandatory read to anyone in the beam world!
On Tue, May 5, 2015 at 5:43 PM, José Valim <jose....@plataformatec.com.br> wrote:
This is very strange. Just to clarify, Hex runs on Heroku with Plug and Ecto, using the same build pack, and we haven't seen memory leaks.Some suggestions:* Read Erlang in Anger if you haven't yet (it is short): http://www.erlang-in-anger.com* Running on Heroku is going to limit what you can debug your system. One idea is to create a process that logs data from recon (the book talks about it) every minute so at least you can see which part of your system is leaking. For example, this will detect all processes that take more than 1MB in memory and log them:require Loggerfor pid <- Process.list,Process.info(pid, :memory) > {:memory, 1000000} doLogger.warn inspect({pid, Process.info(pid)})end
I hope this gives some direction to identify the bug. Since memory is growing quick, I would bet on some loop that is never resolving and increasing the memory until it crashes.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/180ad6f6-d7f5-44e2-9b56-14b59eda8ad4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-talk/XXtNWHhDWrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4LSV5FjfhZiHD22HPh_hGrMerARqCv%3DQ38Dw2F4oeQBmg%40mail.gmail.com.
--Victor Oliveira Nascimento
http://www.concretesolutions.com.br
Mobile: +55 11 9 8923-8061
Rio de Janeiro São Paulo
Rua São José 90, sala 2121 Rua Flórida 1670, Sala 22
Cep: 20010-020 Cep: 04565-001
Centro - Rio de Janeiro - Brasil Brooklin - São Paulo – Brasil
Phone : +55 21 2240-2030 Phone: +55 11 4119 0449
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CALGWU%3DYrwfMDwWt6Yp%2B3EVFtiC4JV3-D6Q2r1U5qubGa1e4mEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-talk/XXtNWHhDWrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4Jk5AqKg3D4Z97mTL32hRYa87M8O5J%3D9XPefFWAGZdL6Q%40mail.gmail.com.
--Victor Oliveira Nascimento
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/180ad6f6-d7f5-44e2-9b56-14b59eda8ad4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-talk/XXtNWHhDWrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4LSV5FjfhZiHD22HPh_hGrMerARqCv%3DQ38Dw2F4oeQBmg%40mail.gmail.com.
--Victor Oliveira Nascimento
http://www.concretesolutions.com.br
Mobile: +55 11 9 8923-8061
Rio de Janeiro São Paulo
Rua São José 90, sala 2121 Rua Flórida 1670, Sala 22
Cep: 20010-020 Cep: 04565-001
Centro - Rio de Janeiro - Brasil Brooklin - São Paulo – Brasil
Phone : +55 21 2240-2030 Phone: +55 11 4119 0449
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CALGWU%3DYrwfMDwWt6Yp%2B3EVFtiC4JV3-D6Q2r1U5qubGa1e4mEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-talk/XXtNWHhDWrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4Jk5AqKg3D4Z97mTL32hRYa87M8O5J%3D9XPefFWAGZdL6Q%40mail.gmail.com.
--Victor Oliveira Nascimento
http://www.concretesolutions.com.br
Mobile: +55 11 9 8923-8061
Rio de Janeiro São Paulo
Rua São José 90, sala 2121 Rua Flórida 1670, Sala 22
Cep: 20010-020 Cep: 04565-001
Centro - Rio de Janeiro - Brasil Brooklin - São Paulo – Brasil
Phone : +55 21 2240-2030 Phone: +55 11 4119 0449
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/58f07124-ef31-492b-a27c-cc8f18876a84%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-talk/XXtNWHhDWrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/554A39A0.1090400%40gmail.com.