Bug
jooby-netty shows increasing memory and CPU usage under repeated HTTP traffic.
After traffic stops, usage stays high instead of returning to baseline.
Environment
Steps to reproduce
mvn clean package
./runJar.bat
- Send ~500 req/s with any HTTP request for ~30 min
- Stop traffic and observe metrics
Expected
Memory/CPU should drop close to baseline after traffic stops.
Actual
Memory/CPU remain elevated; object counts keep growing across bursts.
Observations
scheduledTaskQueue keeps growing
NettyString / NettyDateService are not fully released
Possible cause
NettyDateService is created per connection and schedules periodic tasks (scheduleAtFixedRate(...)) that appear not to be cancelled on channel close.
Bug
jooby-nettyshows increasing memory and CPU usage under repeated HTTP traffic.After traffic stops, usage stays high instead of returning to baseline.
Environment
Steps to reproduce
mvn clean package./runJar.batExpected
Memory/CPU should drop close to baseline after traffic stops.
Actual
Memory/CPU remain elevated; object counts keep growing across bursts.
Observations
scheduledTaskQueuekeeps growingNettyString/NettyDateServiceare not fully releasedPossible cause
NettyDateServiceis created per connection and schedules periodic tasks (scheduleAtFixedRate(...)) that appear not to be cancelled on channel close.