-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allocate memtable from the Arena #749
Comments
its not true! the memtable allocates the data from the arena! |
@ofriedma - could you please give actual stats about the total memory allocations of our memtable, and show how much if from the arena and how much is not? |
LOG-hashspdb-memory.txt At least from this log, there is a gap between the skiplist and our spdb hash, some memory is not transparent through the arena stats or the BlockFetcher stats in the hash spdb. |
@ofriedma - Thanks. |
First fix the memtable memory consumption - #618 |
Summary from the logs: SkipList memory information: 2023/11/08-16:23:32.972665 33053 [/db_impl/db_impl.cc:1138] --- Malloc STATS count=11986 memory=3292MB total=28017343 Hash spdb: 2023/11/08-16:35:58.474413 33460 [/db_impl/db_impl.cc:1138] --- Malloc STATS count=30610 memory=6040MB total=286460724 We can see there are differences between the allocations, higher memory consumption on hash spdb, that is not allocated through the arena. |
Currently the speedb memtable does not allocate memory from the Arena.
The text was updated successfully, but these errors were encountered: