Fatal error: out of memory 0000000000010000

Found a bug in "Everything"? report it here
Post Reply
Tom.Zhang
Posts: 34
Joined: Wed Jun 03, 2015 8:51 am

Fatal error: out of memory 0000000000010000

Post by Tom.Zhang »

I am using 1.4.1.782, always got such issue in the step of quick sorting when startup.
i found there was a workround for this, just set the max_threads = 1 or 2, then it works. After that, i close eveything safely, then modify the max_thread to 0 and open everything again, it will run very smoothly.
once i set max_threads to 0 when startup, it will create 48 threads (depends on my cpu i think) then failing 100% pecent.
my server has 128G ram and poweful CPU.
i have more than 160 million files in server.
Hope this information is helpful for you, anything you want me to do to debug this issue is always welcome!
Debugger
Posts: 559
Joined: Thu Jan 26, 2017 11:56 am

Re: Fatal error: out of memory 0000000000010000

Post by Debugger »

The same situation only in the latest version.
Memory Leak.
------------------
Latest Version
43 mln = 6+ GB RAM
------------------
Old Version
49 - 55 mln = 3... 5GB RAM
----------------------

You should not use as much memory.
Memory is not released.

Image
void
Developer
Posts: 15038
Joined: Fri Oct 16, 2009 11:31 pm

Re: Fatal error: out of memory 0000000000010000

Post by void »

Thanks for the detailed bug report Tom Zhang,

It is possible for a integer overflow in the Everything sort function when sorting a very large number of items (134,000,000+).

I've fixed the issue in Everything 842b.
Tom.Zhang
Posts: 34
Joined: Wed Jun 03, 2015 8:51 am

Re: Fatal error: out of memory 0000000000010000

Post by Tom.Zhang »

Thanks!

I tried latest build without index db in harddisk, it works well now!
it is amazing that eveything ate and released another 15G ram just for quick sorting in 40 sec!

thaaaaaaaaaaaaaaankssssss!
Post Reply