Ensure only the minimum required memory is used by caching query packets by calling shrink_to_fit() (cherry picked from commit deabd4ab453ee8cf1f515bdb32bf9cf9de7f0591)
Ensure only the minimum required memory is used by caching query packets by calling shrink_to_fit() (cherry picked from commit deabd4ab453ee8cf1f515bdb32bf9cf9de7f0591)