go-python icon indicating copy to clipboard operation
go-python copied to clipboard

MemoryError

Open cmullenmm opened this issue 7 years ago • 3 comments

Hi

We are experiencing a MemoryError while running a function in Python from your go library. Increasing the amount of memory works fine to solve this issue when the Python is run directly. When run through this library we receive the MemoryError no matter how much we make available to the process. Is there some configuration which dictates the amount of memory Go is allocating for the Python process? If so can we change it?

Thanks for your help

cmullenmm avatar Oct 03 '17 14:10 cmullenmm

Same as me. I just run a simple python script, while the go exit with the error :

Process finished with exit code 137 (interrupted by signal 9: SIGKILL)

halegreen avatar Jun 13 '19 02:06 halegreen

I have meet the same question

Jasminetyt avatar Nov 30 '19 05:11 Jasminetyt

It's hard to help without a simple reproducer. At face value, I would say you're all missing calls to 'Decref'.

sbinet avatar Nov 30 '19 22:11 sbinet