Message381494
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:55 | asvetlov | set | recipients:
+ asvetlov, caarlos0 |
2020-11-20 18:35:55 | asvetlov | set | messageid: <1605897355.63.0.51326421373.issue42411@roundup.psfhosted.org> |
2020-11-20 18:35:55 | asvetlov | link | issue42411 messages |
2020-11-20 18:35:55 | asvetlov | create | |
|