Author asvetlov
Recipients asvetlov, caarlos0
Date 2020-11-20.18:35:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605897355.63.0.51326421373.issue42411@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-11-20 18:35:55asvetlovsetrecipients: + asvetlov, caarlos0
2020-11-20 18:35:55asvetlovsetmessageid: <1605897355.63.0.51326421373.issue42411@roundup.psfhosted.org>
2020-11-20 18:35:55asvetlovlinkissue42411 messages
2020-11-20 18:35:55asvetlovcreate