开发者

Why can't I create a fixed length tokyo cabinet database larger than 1.8GB?

开发者 https://www.devze.com 2023-03-30 18:11 出处:网络
When I attempt to create a database using tcfdbtune with a parameter limsiz of 1900000000 (1.9GB) and then try to run a tcfdbopen, it fails with a \"memory error\", and I have no idea why.

When I attempt to create a database using tcfdbtune with a parameter limsiz of 1900000000 (1.9GB) and then try to run a tcfdbopen, it fails with a "memory error", and I have no idea why.

When I create a 1.8 GB database, the process takes a lot of m开发者_如何转开发emory as well. Why is that?


When use it with a "fixed length" DB

the whole region of the database is mapped on memory by the `mmap' call

Seems that you are using a 32 bit version... see http://fallabs.com/tokyocabinet/spex-en.html

0

精彩评论

暂无评论...
验证码 换一张
取 消