Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Add a configurable memory cap for mempool #1573

Closed
wants to merge 7 commits into from
Closed

Conversation

congwang
Copy link
Contributor

@congwang congwang commented Nov 22, 2016

Currently mempool is unbounded and memory in mempool grows and settles on steady state. This causes stream manager could use a lot of memory in production. We need a mechanism to add a cap there, the heap usage of stmgr is reduced down to 10% and meanwhile performance is almost not affected at all.

This should resolve #1567

@objmagic objmagic added the stmgr label Nov 22, 2016
@objmagic objmagic added this to the 0.15.0 milestone Nov 22, 2016
@objmagic
Copy link
Contributor

LGTM 👍

@objmagic objmagic modified the milestones: 0.14.6, 0.15.0 Nov 22, 2016
@kramasamy
Copy link
Contributor

@congwang - how is the performance after moving to size in MB?

@congwang
Copy link
Contributor Author

I don't have a chance to test it in data center yet.

@congwang congwang changed the title Add a configurable cap for mempool Add a configurable memory cap for mempool Nov 24, 2016
@congwang congwang closed this Nov 30, 2016
@congwang congwang deleted the cwang/mempool-limit branch November 30, 2016 17:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increased stream manager memory usage
3 participants