Tamás Gulácsi contributed cdb map for read only extremely low memory
implementation.
merge upstream