Provide a limit for the total amount of memory consumed by the server

Registered by Kostja Osipov

Provide a limit for the total amount of memory, consumed by the server.
Requested by my.mail.ru.

To do that we'll need to learn to return memory used by slab/pool allocators to the global area, for reuse, as well as parameterize lua and malloc to use the global allocator.

One option: employ Doug Lea's allocator for everything except palloc. Make sure palloc() returns unused memory to the main allocator when a certain threshold is reached.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.