ktprime / emhash

Fast and memory efficient c++ flat hash map/set
MIT License
435 stars 30 forks source link

reserve large number crash #18

Closed NotOneRing closed 1 year ago

NotOneRing commented 1 year ago

Dear author,

Thanks so much for your contribution! But I just got core dump after reserve a large number like 1e7 or larger. Could you please help fix this problem?

Best regards, Bob

ktprime commented 1 year ago

try the lastest version, if you run on 32 bit os with big key/value it' maybe overflow can you show the call stack and what's your key/value used?