Adding in-memory segment size limits as well as async consumer queue limit by DataEvent weight
Merge branch 'feature/memory-limits'