Use parallel python to call a very simple matlab function with multiple cores, got error: can't allocate region -


i use python call matlab function (import matlab.engine). works fine in series case. however, if want call matlab function in multiple cores in parallel, weird error comes out (i used parallel python module, import pp)

python(68090,0x700006f1e000) malloc: * mach_vm_map(size=3410759172352061440) failed (error code=3) * error: can't allocate region *** set breakpoint in malloc_error_break debug

i wonder if have idea issue? thank in advance

please find minimum example code here https://www.dropbox.com/s/5jh7x9fc14v6kmj/minimumexample.zip?dl=0.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -