sbinet/go-python

MemoryError

cmullenmm opened this issue · 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

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)

I have meet the same question

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