Docker running out of memory when used as an interpreter

Not a PyCharm issue per se perhaps, but I receive the following error in PyCharm Professional when running my app using a Docker container as an interpreter:

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

I understand that this mean it has run out of memory. Admittedly, it is fetching millions of rows from PostgreSQL, but that amounts to only a few GB. I have tried to use the following config in Docker container settings > Run options:

--entrypoint= --rm --memory=24g --memory-swap=-1

Makes no difference though. What else do I need to tweak to increase the amount of memory available?

Streaming them might be difficult, since I am training a DeepAR model.

0

请先登录再写评论。