-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.0.0
-
Component/s: None
-
Fully Compatible
large BufBuilder (4mb) is malloc'd ahead of acquiring DBRead lock. if thousands of clients, waiting on a slow write, the allocated bytes would be gigabytes.
this would mostly just be virtual memory i guess, but still not a good thing. (and behavior could vary by operating system virtual memory manager)