<div dir="ltr">Another thing to try is using the pre-build binaries we publish to npm for node-osrm; you can get them via<br><div><div><div><br>npm install<br><br></div><div>then the osrm-* binaries Travis built should be at<br></div><div><br>node_modules/osrm/lib/binding/<br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 6, 2016 at 1:45 PM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org" target="_blank">frederik@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
   I've re-run with debug enabled but that wasn't much better:<br>
<br>
======= Backtrace: =========<br>
/lib/x86_64-linux-gnu/libc.so.<wbr>6(+0x77725)[0x7fd9e4134725]<br>
/lib/x86_64-linux-gnu/libc.so.<wbr>6(+0x7ff4a)[0x7fd9e413cf4a]<br>
/lib/x86_64-linux-gnu/libc.so.<wbr>6(cfree+0x4c)[0x7fd9e4140abc]<br>
osrm-extract(_ZN9__gnu_<wbr>cxx13new_allocatorISt10_List_<wbr>nodeIyEE10deallocateEPS2_m+<wbr>0xc)[0x988c24]<br>
osrm-extract(_ZNSt7__cxx1110_<wbr>List_baseIySaIyEE11_M_put_<wbr>nodeEPSt10_List_nodeIyE+0xe)[<wbr>0x988c34]<br>
osrm-extract(_ZNSt7__cxx1110_<wbr>List_baseIySaIyEE8_M_clearEv+<wbr>0x1d)[0x988c53]<br>
osrm-extract(_ZNSt7__cxx1110_<wbr>List_baseIySaIyEED1Ev+0x9)[<wbr>0x988c67]<br>
osrm-extract(_ZNSt7__<wbr>cxx114listIySaIyEED1Ev+0x9)[<wbr>0x988c73]<br>
osrm-extract(_ZN5stxxl9lru_<wbr>pagerILj8EED1Ev+0x1d)[<wbr>0x988c93]<br>
osrm-extract(_<wbr>ZN5stxxl6vectorIjLj4ENS_9lru_<wbr>pagerILj8EEELj2097152ENS_<wbr>2RCEyED1Ev+0xe8)[0x9ad4bc]<br>
osrm-extract(_<wbr>ZN4osrm9extractor20ExtractionC<wbr>ontainersD1Ev+0x3c)[0x9ae67c]<br>
osrm-extract(_<wbr>ZN4osrm9extractor9Extractor3ru<wbr>nERNS0_<wbr>20ScriptingEnvironmentE+0xbc2)<wbr>[0x9bd03a]<br>
osrm-extract(main+0x22c)[<wbr>0x9123cb]<br>
/lib/x86_64-linux-gnu/libc.so.<wbr>6(__libc_start_main+0xf0)[<wbr>0x7fd9e40dd830]<br>
osrm-extract(_start+0x29)[<wbr>0x905799]<br>
<span class=""><br>
On 10/06/2016 11:05 AM, Daniel Hofmann wrote:<br>
> I think we need more details here: first of all, it seems like Ubuntu<br>
> 16.04 ships Lua5.3 with apt, for which we saw an immense increase in<br>
> memory usage.<br>
<br>
</span>I didn't get any out-of-memory errors. Also I didn't use Lua5.3, I only<br>
have 5.1 and 5.2:<br>
<br>
% dpkg -l |grep lua<br>
ii  liblua5.1-0:amd64                      5.1.5-8ubuntu1<br>
            amd64        Shared library for the Lua interpreter version 5.1<br>
ii  liblua5.1-0-dev:amd64                  5.1.5-8ubuntu1<br>
            amd64        Development files for the Lua language version 5.1<br>
ii  liblua5.2-0:amd64                      5.2.4-1ubuntu1<br>
            amd64        Shared library for the Lua interpreter version 5.2<br>
ii  liblua5.2-dev:amd64                    5.2.4-1ubuntu1<br>
            amd64        Development files for the Lua language version 5.2<br>
ii  libluabind-dev                         0.9.1+dfsg-10<br>
            amd64        luabind c++ binding for lua: static library and<br>
headers<br>
ii  libluabind0.9.1v5                      0.9.1+dfsg-10<br>
            amd64        luabind c++ binding for lua: runtime library<br>
ii  lua5.1                                 5.1.5-8ubuntu1<br>
            amd64        Simple, extensible, embeddable programming language<br>
ii  lua5.2                                 5.2.4-1ubuntu1<br>
            amd64        Simple, extensible, embeddable programming language<br>
<br>
and<br>
<br>
% ldd /usr/local/bin/osrm-extract |grep lua<br>
        libluabind.so.0.9.1 => /usr/lib/libluabind.so.0.9.1 (0x00007f2207e1f000)<br>
        liblua5.2.so.0 => /usr/lib/x86_64-linux-gnu/<wbr>liblua5.2.so.0<br>
(0x00007f2207bed000)<br>
<span class=""><br>
> Then, can you tell us if you're using the default profile or did you<br>
> make any adjustments to it?<br>
<br>
</span>None, using the standard foot.lua supplied with 5.4.0.<br>
<br>
I'll try (a) on a 14.04 Ubuntu, (b) with an older OSRM, (c) with a<br>
differently-produced Europe file to see what happens. Any other ideas<br>
are welcome.<br>
<div class="HOEnZb"><div class="h5"><br>
Bye<br>
Frederik<br>
<br>
--<br>
Frederik Ramm  ##  eMail <a href="mailto:frederik@remote.org">frederik@remote.org</a>  ##  N49°00'09" E008°23'33"<br>
<br>
______________________________<wbr>_________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.<wbr>org/listinfo/osrm-talk</a><br>
</div></div></blockquote></div><br></div>