Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
2.0.0
-
None
-
Fully Compatible
Description
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)