Closed as not planned
Closed as not planned
Description
Verson:
JDK21
spring-boot-starter-web 3.5.0
When I upload file to springmvc applicaion, and use MultipartFile#getBytes. it will OOM,If the total size of the attachments I have uploaded exceeds the direct memory size.OOM occurs.
this is the recurrent demo project link https://github.com/sxl-vay/test-direct-memory.git
And I found out that the problem was caused by this commit 4e896c8