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 asvetlov
Recipients asvetlov, caarlos0
Date 2020-11-20.18:35:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Could you explain the proposal?

How "+X:UseContainerSupport" behaves for Java? Sorry, I did not use Java for ages and don't follow the modern Java best practices.

From my understanding, without the Docker the allocation of `bytearray(80 * 1024 * 1024 * 1000)` leads to `raise MemoryError` if there is no such memory available and malloc()/callloc returns NULL.

The exception is typically not handled at all but unwinded to "kill the process" behavior.

The reason for this situation is: in Python when you are trying to handle out-of-memory behavior the handler has a very which chance to allocate a Python object under the hood and raise MemoryError at any line of the Python exception handler.
Date User Action Args
2020-11-20 18:35:55asvetlovsetrecipients: + asvetlov, caarlos0
2020-11-20 18:35:55asvetlovsetmessageid: <>
2020-11-20 18:35:55asvetlovlinkissue42411 messages
2020-11-20 18:35:55asvetlovcreate