[BUG] Fatal out of memory error

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
hoare
Posts: 7
Joined: Sat Nov 28, 2015 1:28 pm

[BUG] Fatal out of memory error

Post by hoare »

I am using Everything-1.4.0.713b.x86 and I have about 5 millions of files on my computer and when launch everything and it wants to start indexing my files, after some minutes that memory usage of programs exceeds 400 MB, i get this error and everything will be closed automatically so i can't use everything at all because it can't index all of my volumes.

Code: Select all

.\src\mem.c(566) : mem_alloc(): fatal error: out of memory 40000000
Please help me to solve this problem.
Last edited by hoare on Sun Nov 29, 2015 4:00 pm, edited 1 time in total.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Fatal out of memory error

Post by therube »

As a start...

Exit Everything (which I suppose is a given at this point)
Edit everything.ini
Change the value of auto_include_fixed_volumes to 0, so: auto_include_fixed_volumes=0

Thinking that with that, at least you should be able to open Everything.


After that...?


Tell us about your drives/volumes...
hoare
Posts: 7
Joined: Sat Nov 28, 2015 1:28 pm

Re: Fatal out of memory error

Post by hoare »

I already did this and the problem still persists, but in this case i can't have all my files indexed. I had no problem with everything since several years ago but recently the number of my files are increased a lot then i faced this problem yesterday. I think if we could increase the amount of allowed allocated memory, my problem will be solved.
I have 2 hard drives. One of them is 512 GB and the other one is 3 TB and as i said, its several years that i am using everything and i never faced this problem before.
I think It seems there is a hidden internal limitation in everything that prevents maximum usage of RAM or something like that. Because as soon as the amount of used RAM while indexing files reaches to 400 MB, i get that error. By the way, I have 2GB RAM on my computer and i am running windows 7 ultimate.
froggie
Posts: 300
Joined: Wed Jun 12, 2013 10:43 pm

Re: Fatal out of memory error

Post by froggie »

It is possible that the Windows is running out of memory. Have you tried closing all other programs first? What is the size of your paging file and is there free space on that volume?
hoare
Posts: 7
Joined: Sat Nov 28, 2015 1:28 pm

Re: Fatal out of memory error

Post by hoare »

Yes i have closed all programs and by monitoring used system resources i am sure that my computer is not running out of memory and also the size of my paging file is 4GB and its quite enough.
horst.epp
Posts: 1443
Joined: Fri Apr 04, 2014 3:24 pm

Re: Fatal out of memory error

Post by horst.epp »

Why are you running the x86 version of Everything ?
Is the OS only 32bit ?
x64 OS and applications have much more memory available.
hoare
Posts: 7
Joined: Sat Nov 28, 2015 1:28 pm

Re: Fatal out of memory error

Post by hoare »

My windows is 32 bit and i only can run 32 bit version of everything :(
void
Developer
Posts: 16690
Joined: Fri Oct 16, 2009 11:31 pm

Re: [BUG] Fatal out of memory error

Post by void »

Please try running Everything in debug mode:
  • Run everything normally.
  • While Everything is starting up, in Everything, press Ctrl + ~
  • Wait for the out of memory condition to occur again.
  • What is displayed in the debug console?
hoare
Posts: 7
Joined: Sat Nov 28, 2015 1:28 pm

Re: [BUG] Fatal out of memory error

Post by hoare »

I run everything in debug mode and here is the result

Code: Select all

Everything
Version 1.4.0.713b (x86)
Windows NT 6.1
Processors 1
IsAdmin 1
AppData 1
Service 0
......
data run array count 1
found data run with vcn 923968
.\src\mem.c(566): mem_alloc(): Fatal error: out of memory 40000000
void
Developer
Posts: 16690
Joined: Fri Oct 16, 2009 11:31 pm

Re: [BUG] Fatal out of memory error

Post by void »

Thanks for the debug output.
I was able to trace the issue with the last 3 lines.

Everything is over allocating memory for fragmented MFT records.

Please try Everything 1.4.0.714b:
http://www.voidtools.com/Everything-1.4.0.714b.x86.zip
http://www.voidtools.com/Everything-1.4.0.714b.x64.zip

This version should use a lot less memory when indexing very fragmented MFT records.
hoare
Posts: 7
Joined: Sat Nov 28, 2015 1:28 pm

Re: [BUG] Fatal out of memory error

Post by hoare »

Thanks you so much for your fast and excellent support. The problem is fixed and it works great. I run everything and I followed the hardware resource usage while indexing my files which is 5 millions and the most used memory was 901 MB but i got no error and it run successfully. Now i am just waiting for the installer version of 1.4.0.714b as i don't like running it as portable :)
Thank you so much again.
salazor
Posts: 258
Joined: Tue Jun 17, 2014 10:52 am

Re: [BUG] Fatal out of memory error

Post by salazor »

@Hoare

Defragment MFT - the drive will be in better shape - type in Google defragment MFT and you will find several programs.

And as for installing it in the folder where you have Everything, replace 713b to 714b portable and will work.
hoare
Posts: 7
Joined: Sat Nov 28, 2015 1:28 pm

Re: [BUG] Fatal out of memory error

Post by hoare »

salazor wrote:@Hoare

Defragment MFT - the drive will be in better shape - type in Google defragment MFT and you will find several programs.
And as for installing it in the folder where you have Everything, replace 713b to 714b portable and will work.
Thank a lot. I will do that as soon as possible.
Post Reply