Open vikaskedia opened 6 years ago
Interesting result, thank you for posting. I'll have to investigate this in more detail, 200k entries shouldn't be an issue for tsearch.
In the meantime, you could try the -h
switch as long as you don't have too many hardlink duplicate entries. This should avoid calling tsearch at all.
I have same problem on CentOS 7.6
Directory size 3.8G with 240000 files
vmtouch -dl /dir
On ubuntu 16.04 with 192 GB of ram:
I have a directory of size 43GB and 277071 files.
I want to keep this whole directory in RAM.
When i give the command
I get the error: vmtouch: FATAL: tsearch: out of memory