Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346934

Summary: Don't hold header buffers while request is suspended
Product: [RT] Jetty Reporter: Greg Wilkins <gregw>
Component: serverAssignee: Greg Wilkins <gregw>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jetty-inbox, simone.bordet
Version: 7.4.1   
Target Milestone: 7.2.x   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch to release buffers
none
patch to release buffers none

Description Greg Wilkins CLA 2011-05-24 02:39:36 EDT
Jetty currently releases content buffers while a request is suspended, but request header buffers are 8k and can consume a lot of memory for lots of connections.

These buffers could be release if the HttpFields instance was updated to give up references to the buffer for the raw bytes.
Comment 1 Greg Wilkins CLA 2011-05-24 02:53:27 EDT
Created attachment 196396 [details]
patch to release buffers
Comment 2 Greg Wilkins CLA 2011-05-24 05:31:31 EDT
Created attachment 196414 [details]
patch to release buffers

this is working better, but there are still failures in cometd load tests
Comment 3 Greg Wilkins CLA 2011-09-06 01:06:23 EDT
fixed in 7.5.0
Comment 4 Jesse McConnell CLA 2011-09-20 15:52:31 EDT
Resolved -> Closed