FasterKv out of memory exceptions #723
-
I have a very simple program that uses 'large' classes, I created a test program to figure out how to get it up and runing with FasterKv. private static void Main()
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.