Project

General

Profile

Feature #149

Reduce Memory Usage by Disabling Memory Preallocation in HttpResponseData

Added by Luke Murphey almost 14 years ago. Updated over 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Scan Engine
Target version:
-
Start date:
05/10/2010
Due date:
% Done:

0%


Description

The HttpResponseData uses extra memory unnecessarily by pre-allocating an array up to the upper limit of the response size. Below is the offending line in the contructor:

byte[] responseBodyBytes = new byte[DEFAULT_LENGTH_LIMIT];

History

#1 Updated by Luke Murphey over 13 years ago

  • Subject changed from Reduce Memory by Disabling Memory Preallocation in HttpResponseData to Reduce Memory Usage by Disabling Memory Preallocation in HttpResponseData

#2 Updated by Luke Murphey over 13 years ago

  • Category set to Scan Engine

Also available in: Atom PDF