-
Bug
-
Resolution: Done
-
Major
-
None
-
None
When a POST request is made with an entity, the entity content may be written to a temporary file. This is done via Files.newOutputStream(tempFile). If you post larger entities and have a small -XX:DirectByteBuffer size set, the underlying DirectByteBuffer can run out of off heap memory resulting in aborted requests. With requests up to 30-50 mbs and it seems RESTEasy is writing that in full at once to the underlying stream and thus allocating such a large buffer to match through the resulting sun.nio.ch.Util.getTemporaryDirectBuffer call.
- incorporates
-
JBEAP-31444 [8.0.z] Commons IO NIO File use can lead to larger memory use in EAP 8.0.0+
-
- New
-
-
JBEAP-31445 [8.1.z] Commons IO NIO File use can lead to larger memory use in EAP 8.0.0+
-
- New
-