1. Create storage engine from file
2. Create 100 XTables and put them into a List
3. Loop 1,000,000 times and insert a value into each XTABLE with a commit every 20K
When I monitor the memory I can see it continually grow until I get an OOM error.
What is being kept in memory?
My insert code is
Int64 dimKey = val.GetHashCode(); t_dimbykey[dimKey] = val;
every 20K rows
t_dimbykey.commit();When I comment out the insert..the memory does not grow and I don't get the OOM
Do I need to do some special type of flush when i commit?
I have confirmed this using the TICK sample application that ships with the sources. If you insert 100000000 rows
and add a commit every 20000 rows, you see memory usage continually grow until the application dies.