<div dir="auto"><div>Hi Swetha</div><div dir="auto"><br></div><div dir="auto">The program is running out of memory. You need a box with more RAM.</div><div dir="auto"><br></div><div dir="auto">The other possibility is, you are passing an incorrect parameter. For example, trying to allocate "-1" objects would cause the system to allocate 2^32-1 objects, which causes allocation error.</div><div dir="auto">You may use <b>gdb</b> or <b>valgrind</b> to verify this condition.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, Oct 19, 2020, 09:05 Swetha B via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr"><div dir="ltr">Hi Junxiao,<div>I have configured ndn-cxx with</div><div> ./waf configure --with-tests --with-examples --debug --without-pch</div><div>I have problem building my tests as shown below</div><div><br></div><div>swetha@swetha-Ubuntu:~/ndn-cxx$ ./build/unit-tests<br>terminate called after throwing an instance of 'std::bad_alloc'<br>  what():  std::bad_alloc<br>Aborted (core dumped)<br></div><div><br></div><div>should i run any additional commands for this?</div><div><br></div><div>Regards</div><div>Swetha</div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div></div></div>
</blockquote></div></div></div>