Details
-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
We want to be able to know how much memory a particular connection was allocated. And Limit this amount, if necessary.
Possible implementations (all in my_malloc()/my_free()):
- allocate 16 bytes more and store the size there
- use _msize (windows), malloc_usable_size (linux), malloc_size (mac os x). That's simpler, but is it portable enough for us? See also this thread
Gliffy Diagrams
Attachments
Issue Links
- is duplicated by
-
MDEV-4011 per-thread memory usage statistics
-
- Closed
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
it should be closed? in mariadb-10.0.1 i have the memory_used column