Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cannot allocate memory running mame
Hi!
After updating mame (with debugging symbols) to 0.225 on -current, I see:
> mame
zsh: cannot allocate memory: mame
I've increased the ulimits to:
> ulimit -a
-t: cpu time (seconds) unlimited
-f: file size (blocks) unlimited
-d: data seg size (kbytes) 8388608
-s: stack size (kbytes) 131072
-c: core file size (blocks) unlimited
-m: resident set size (kbytes) 129862788
-l: locked-in-memory size (kbytes) 43287596
-u: processes 1024
-n: file descriptors 1024
-b: socket buffer size (bytes) unlimited
-v: virtual memory size (kbytes) unlimited
-T: threads 1024
but that was not sufficient.
> du -sh /usr/pkg/bin/mame
269M /usr/pkg/bin/mame
When I try to ktrace it, it fails early:
9186 9186 ktrace RET execve -1 errno 2 No such file or directory
9186 9186 ktrace CALL execve(0x7f7fffc4a100,0x7f7fffc4a608,0x7f7fffc4a618)
9186 9186 ktrace NAMI "/usr/pkg/bin/mame"
9186 9186 ktrace NAMI "/usr/libexec/ld.elf_so"
9186 9186 ktrace RET execve -1 errno 12 Cannot allocate memory
9186 9186 ktrace CALL write(2,0x7f7fffc49ed0,8)
9186 9186 ktrace GIO fd 2 wrote 8 bytes
"ktrace: "
9186 9186 ktrace RET write 8
9186 9186 ktrace CALL write(2,0x7f7fffc49fb0,0x15)
9186 9186 ktrace GIO fd 2 wrote 21 bytes
"exec of 'mame' failed"
9186 9186 ktrace RET write 21/0x15
9186 9186 ktrace CALL write(2,0x715c39997812,2)
9186 9186 ktrace GIO fd 2 wrote 2 bytes
": "
Any ideas?
Thomas
Home |
Main Index |
Thread Index |
Old Index