Damian Myerscough added the comment:
Thanks for the feedback, I will continue to dig into this.
I know processes go crazy sometimes when OOM killer kicks off, I just wanted to
rule out a Python bug or if anyone in the community has seen this before.
Thanks
Damian Myerscough added the comment:
@rbcollins there is nothing else running in the Docker container other than the
python interpreter. I did an `strace` of the process
mmap(NULL, 3149824, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7effc2d0c000
munmap(0x7effc300d000, 790528
New submission from Damian Myerscough:
I have been running a simple script inside a Docker container to cause the
container to trigger oom-killer.
>>> mem = {}
>>> for i in range(65535):
... mem[i] = "A" * 65535
When oom-killer is trigger I see a large n