gotcha icon indicating copy to clipboard operation
gotcha copied to clipboard

MaxMemory dangerous

Open ddv2005 opened this issue 1 year ago • 0 comments

Could you explain a reason to implement MaxMemory using a simple json/encoding to count the byte size? Because simple json/encoding using at least TWICE memory than actual objects!!! MaxMemory should keep memory usage in boundaries but instead it guarantee than memory boundaries would be breached. MaxMemory not just useless - it is dangerous in current implementation because actual memory usage 3 times more.

ddv2005 avatar Jul 18 '22 20:07 ddv2005