Pergunta

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 memory as well. Why is that?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top