Since there could be burst of notifications, that allocated memory can be over 2GB, but when queue will be drained that memory will not be automatically released. Underlying deque container contains function shrink_to_fit but that is just a request, and usually this function does nothing.
Since there could be burst of notifications, that allocated memory can be over 2GB, but when queue will be drained that memory will not be automatically released. Underlying deque container contains function shrink_to_fit but that is just a request, and usually this function does nothing.