davechurchill / commandcenter

Starcraft AI Bot
MIT License
522 stars 112 forks source link

malloc: can't allocate region #93

Open jmugan opened 4 years ago

jmugan commented 4 years ago

Does anyone know what might cause malloc: can't allocate region? It happens immediately. The machine has plenty of free memory.

(base) bob@bob:~/bin/cc_alberta/commandcenter/bin$ ./CommandCenter
CommandCenter(30038,0x10bdd6dc0) malloc: can't allocate region
:*** mach_vm_map(size=140732750573568, flags: 100) failed (error code=3)
CommandCenter(30038,0x10bdd6dc0) malloc: *** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Abort trap: 6