Memory handling: exponentially-increasing alloc size
[exim.git] / doc / doc-txt / ChangeLog
index c1f6f9b6d59b21d6ed2d343ed07377c1f6b6399c..bbd305ae8d6fc5ff39f25cb335edc1904458b655 100644 (file)
@@ -218,6 +218,12 @@ JH/45 Use a (new) separate store pool-pair for DKIM verify working data.
       This meant a connection with many messages would use continually-growing
       memory.
 
+JH/46 Use an exponentially-increasing block size when malloc'ing store.  Do it
+      per-pool so as not to waste too much space.  Previously a constant size
+      was used which resulted in O(n^2) behaviour; now we get O(n log n) making
+      DOS attacks harder.  The cost is wasted memory use in the larger blocks.
+
+
 
 Exim version 4.94
 -----------------