<div dir="ltr">uninformed debugging ideas:<div><br></div><div>Can you reproduce it with half of the module? Can you then isolate a specific part of the module that ends up taking a lot of memory to compile?</div><div><br></div>
<div>Are you including any odd hrl's?</div><div><br></div><div>JD</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 October 2013 09:27, Maruthavanan Subbarayan <span dir="ltr"><<a href="mailto:maruthavanan_s@hotmail.com" target="_blank">maruthavanan_s@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi,<div><br></div><div>I am receiving and crash dump during compilation of my code, stating could not allocate memory and takes a lot time. I am able to compile other bigger modules in same environment. I passed and "-v" to put verbose of "erlc" but I could not see any output.</div>
<div><br></div><div><div>Slogan: eheap_alloc: Cannot allocate 1098556536 bytes of memory (of type "heap").</div><div>System version: Erlang R16B02 (erts-5.10.3) [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]</div>
</div><div><br></div><div><span style="font-size:12pt">I tried 'rebar" as well as "erlc" how can I get more information? I am wondering what area of my code causes heap to grow during compilation? Any ideas?</span></div>
<div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">One more interesting fact is, one of the modules which was not changed is also facing this problem suddenly. </span><span style="font-size:12pt">I also tried copying the folder to Erlang-R14B04, and this also had same problem now. </span><span style="font-size:12pt">How should I </span><span style="font-size:12pt">proceed further? </span></div>
<div><span style="font-size:12pt"><br></span></div><div><span style="font-size:12pt">Thanks,</span></div><div>Marutha</div> </div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>