Max queue size to prevent out-of-memory errors