closes #340 Add a parameter for locktree max memory. Default to
cachesize / 10 if it isn't specified.