netty: File upload extremely slow
Expected behavior
Uploading a file should be almost instantaneous in a local environment
Actual behavior
Uploading a file is taking approximately 1 minute
Steps to reproduce
./gradlew run- Upload a 25-30mb file (the project README has an example curl)
Minimal yet complete reproducer code (or URL to code)
https://github.com/jameskleeh/netty-memory-leak
Checkout the upload_perf branch
Netty version
This started happening in 4.1.60 and is present in 4.1.63
JVM version (e.g. java -version)
JDK 8
OS version (e.g. uname -a)
Darwin MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 41 (41 by maintainers)
Commits related to this issue
- Fix Memory release not correctly in Multipart Decoder Motivation: 2 years ago a change remove the default clearing of all HttpData, whatever they are disk based or memory based. A lot of users were ... — committed to fredericBregier/netty by fredericBregier 3 years ago
- Fix Memory release not correctly in Multipart Decoder (#11188) Motivation: 2 years ago a change remove the default clearing of all HttpData, whatever they are disk based or memory based. A lot o... — committed to netty/netty by fredericBregier 3 years ago
- Fix Memory release not correctly in Multipart Decoder (#11188) Motivation: 2 years ago a change remove the default clearing of all HttpData, whatever they are disk based or memory based. A lot of us... — committed to netty/netty by fredericBregier 3 years ago
- Fix Memory release not correctly in Multipart Decoder (#11188) Motivation: 2 years ago a change remove the default clearing of all HttpData, whatever they are disk based or memory based. A lot o... — committed to raidyue/netty by fredericBregier 3 years ago
Hey I am late as I just returned from vacation and have a huge backlog. That said I can try to have a look next week as well. As we know in which release the issue started it should be possible to figure out what is wrong