alonho/pytrace

OSX 10.8 cannot allocate memory

Closed this issue · 1 comments

No errors in compilation. pytrace with no arguments starts the reader just fine. Running with any argument produces this error:

shmget: Cannot allocate memory
ext/write.c:9: failed assertion

I've uploaded a new version (0.1.6) that should try and allocate less memory (3 instead of 4 MB). There's a limit in os x of 4MB of shared memory, it's enough that you have one more program that uses shared memory and pytrace won't be able to allocate 4MB.

btw, pytrace doesn't have to use shared memory, it does that to support multiple process being traced into a single db (which is a future option). a future version would use shared memory only if configure to do so.

plz reopen if it still crashes. thanks!