Skip to content

Commit

Permalink
Release v1.0.1
Browse files Browse the repository at this point in the history
Improved memory usage for large requests.
Removed hack for Blocks cleanup - no need to clean it since GC will do it.
  • Loading branch information
zapov committed Jul 7, 2014
1 parent 037fc55 commit 70db1dc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Code/Core/NGS.Utility/Streams/ChunkedMemoryStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,7 @@ protected override void Dispose(bool disposing)
MemoryPool.Push(this);
CurrentEstimate++;
}
else
{
Blocks.RemoveRange(1, Blocks.Count - 1);
CurrentEstimate = MemoryPool.Count;
}
else CurrentEstimate = MemoryPool.Count;
}
}
}
Expand Down

0 comments on commit 70db1dc

Please sign in to comment.