richfitz / thor

:zap::computer::zap: R client for the Lightning Memory-Mapped Database

Home Page:https://richfitz.github.io/thor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Map size integer range

artemklevtsov opened this issue · comments

Hi,

How much map size can be used?

> db <- mdb_env(path = file.path(dbdir), mapsize = 10240000000)
Error in if (ret != x) { : missing value where TRUE/FALSE needed
In addition: Warning message:
In as_integer(mapsize) : NAs introduced by coercion to integer range
Execution halted

I think mapsize should be be uint64 range on the 64-bit systems.

Thanks, I agree.

Please try 3816db9 (on the develop branch) which fixes this

Now it works on develop branch. Thank you.

Thanks - merged into master now