Skip to content

FasterKv out of memory exceptions #723

Answered by badrishc
HenkOtterloo asked this question in Q&A
Discussion options

You must be logged in to vote

See this doc and sample: https://microsoft.github.io/FASTER/docs/fasterkv-tuning/#log-memory-size-with-c-heap-objects

In general, with objects you need to tune the page size and memory size to be much smaller. E.g., 1KB pages, and say 64 such pages in memory. This is because the long only has 8 byte pointers to the actual data, thus the log size in memory only controls the number of pointers (references) in memory.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HenkOtterloo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants