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

Most upvoted comments

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