This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients asvetlov, caarlos0, christian.heimes
Date 2020-11-20.18:57:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605898655.37.0.388953250001.issue42411@roundup.psfhosted.org>
In-reply-to
Content
I can neither reproduce the issue with podman and cgroupv2 nor with docker and cgroupsv1. In both cases I'm getting a MemoryError as expected:

# podman run -m 1G --cpus 1 python:rc-alpine python -c 'x = bytearray(80 * 1024 * 1024 * 1000)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
MemoryError

# docker run -m 1GB fedora:33 python3 -c 'x = bytearray(80 * 1024 * 1024 * 1000)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
MemoryError
History
Date User Action Args
2020-11-20 18:57:35christian.heimessetrecipients: + christian.heimes, asvetlov, caarlos0
2020-11-20 18:57:35christian.heimessetmessageid: <1605898655.37.0.388953250001.issue42411@roundup.psfhosted.org>
2020-11-20 18:57:35christian.heimeslinkissue42411 messages
2020-11-20 18:57:34christian.heimescreate