#endif
// Each stream will have class Http2Stream allocated and a node in streams list
-const size_t Http2FlowData::stream_memory_size = sizeof(std::_List_node<Http2Stream*>) + sizeof(class Http2Stream);
+const size_t Http2FlowData::stream_memory_size = sizeof(class Http2Stream) +
+ stream_extra_memory;
const size_t Http2FlowData::stream_increment_memory_size = stream_memory_size *
STREAM_MEMORY_TRACKING_INCREMENT;
void update_stream_memory_deallocations();
static const size_t stream_memory_size;
static const size_t stream_increment_memory_size;
+ // Per-stream extra memory estimate to account for the std::list streams. Actual memory usage
+ // is implementation dependent
+ static const size_t stream_extra_memory = 24;
};
#endif