Just store the values off heap, and use a long as a pointer into MapDB