Navit on my pre3 sometimes crashes when I open the menu (including clicking on a spot on the map).

Here is the error message when I ran navit on console:

from gdb:

GLib-ERROR **: gmem.c:156: failed to allocate 4188826544 bytes

and

*** glibc detected *** /media/cryptofs/apps/usr/palm/applications/org.webosinternals.navit/bin/navit: double free or corruption (out): 0x00ad5b80 ***

followed by the backtrace:

======= Backtrace: ========= /lib/libc.so.6[0x2ae7a7d8] /lib/libc.so.6(cfree+0 - Pastebin.com

something with my phone or the program itself?