Error 8: Not enough memory? Fatal Error: Failed to allocate?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
ANAM
Posts: 2
Joined: Tue Dec 08, 2009 7:08 pm

Error 8: Not enough memory? Fatal Error: Failed to allocate?

Post by ANAM » Wed Dec 09, 2009 4:59 pm

Been using Everything v1.21.371 for the past few weeks on our new server (Dell PowerEdge 2900). It’s been working fine until there was an error yesterday morning. The story…

Pulled up the Everything search window, there were no files listed. The status below in the corner read “Updating database…”, so we left it alone for a few hours, but the status remained the same. The Task Manager showed Mem Usage remaining still and the CPU usage averaging 13% (more than usual). So, we decided to reboot the entire server…same results as before (except it starts with “Loading database…” for a few minutes, and then back to the hours of “Updating database…”). We gave that up and decided to uninstall/re-install the Everything program. It took a while to scan the volume, initially, but we knew it was working as we watched the Mem Usage continue to climb. The status went from “Scanning ()” to “Loading database…” and then a popup error came up this time that read:

.\src\mem.cpp(90): mem_alloc(): Fatal Error: Failed to allocate _______ bytes. Last Windows Error 8: Not enough memory is available to process this command

The funny thing is, after pressing OK to rid this pop up message, the Everything search window listed all files once again and it appears to be working at this time.

We’re glad the program is up and running again, but would like to know what the cause of this error is and/or if we can prevent it from happening again. We’d rather not uninstall the program every time this happens. Thanks.

void
Site Admin
Posts: 4895
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error 8: Not enough memory? Fatal Error: Failed to allocate?

Post by void » Thu Dec 10, 2009 7:02 am

Possibly a corrupt database or file system.
I am curious to know how much memory "Everything" tried to allocate.

Try running scan disk for file system errors.

If it happens again, try running "Everything" in debug mode...
To run "Everything" in debug mode:
  • Run Everything.exe with the -debug command line option.
This will display indexing progess and useful memory allocation information..

Are you renaming a lot of Folders, as this could cause "Everything" to take several minutes to update.

ANAM
Posts: 2
Joined: Tue Dec 08, 2009 7:08 pm

Re: Error 8: Not enough memory? Fatal Error: Failed to allocate?

Post by ANAM » Thu Dec 10, 2009 2:46 pm

We've got an immense amount of files...almost 22 million. Average memory usage from Everything ranges from 600-700 MB. But with only 40 something processes running in the background and 4GB of RAM, PF usage only comes up around 1.53GB; holds up with no problems.

We do add data and create new folders, but we don't believe it's to the point to choke up the database update (assuming it only takes a few minutes whenever folders are modified as you stated in the last sentence).

We will have to go with a corrupt database theory. I did run a scan disk over night, and there are no problems indicated.

Curious...what exactly does the debug mode do? It doesn't take away some of Everything's abilities like 'keeping the db up-to-date", does it?

void
Site Admin
Posts: 4895
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error 8: Not enough memory? Fatal Error: Failed to allocate?

Post by void » Fri Dec 11, 2009 6:34 am

Curious...what exactly does the debug mode do?
Debug mode provides a debug console that shows all sorts of useful information about what "Everything" is doing and it's internal state.
It doesn't take away some of Everything's abilities like 'keeping the db up-to-date", does it?
No, it has no effect on "Everything"'s abilities.

Post Reply