High RAM usage

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
testaccount2020
Posts: 4
Joined: Sat May 16, 2020 11:32 am

High RAM usage

Post by testaccount2020 » Sat May 16, 2020 11:39 am

Everything is using 6GB of RAM. Is that normal? Is there something I can do to lower the usage?
http://prntscr.com/shvncw

NotNull
Posts: 2017
Joined: Wed May 24, 2017 9:22 pm

Re: High RAM usage

Post by NotNull » Sat May 16, 2020 6:21 pm

A recent thread about this: viewtopic.php?f=5&t=9014

BTW: Your screenshot doesn'f show the actual RAM usage.

testaccount2020
Posts: 4
Joined: Sat May 16, 2020 11:32 am

Re: High RAM usage

Post by testaccount2020 » Sat May 16, 2020 6:30 pm

NotNull wrote:
Sat May 16, 2020 6:21 pm
BTW: Your screenshot doesn'f show the actual RAM usage.
It shows the RAM usage!

So the high ram usage is because of me having very many files on my harddrive?

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

Re: High RAM usage

Post by void » Mon May 18, 2020 1:27 am

How many files is Everything indexing?

The total count is shown in the status bar on the left when there is no selection and the search is empty.
You can expect memory usage to be around 100MB per 1 million files indexed.

testaccount2020
Posts: 4
Joined: Sat May 16, 2020 11:32 am

Re: High RAM usage

Post by testaccount2020 » Mon May 18, 2020 11:57 am

Thanks for the quick reply void! The usage now goes up to 10gb of ram, an amount I have never seen any program use.
void wrote:
Mon May 18, 2020 1:27 am
How many files is Everything indexing?
Around 30 million items. Which should result in ~3 gb of ram.
So where do the constant 5-10 gb of ram usage come from?
Last edited by testaccount2020 on Mon May 18, 2020 12:00 pm, edited 1 time in total.

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

Re: High RAM usage

Post by void » Wed May 20, 2020 1:10 am

How large is your Everything.db?

What information are you indexing (eg: Tools -> Options -> Indexes -> Index file size)?

How many search windows do you have open? Each search window will use about 8 bytes per file (240MB for 30 million files).

For 30 million + files, please try disabling size/date indexing and running Everything as an administrator:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Uncheck Everything service.
  • Check Run as administrator.
  • Click the Indexes tab on the left.
  • Uncheck Index recent changes.
  • Uncheck Fast size sort (8 bytes per file)
  • Uncheck Index file size (8 bytes per file)
  • Uncheck Fast date modified sort (8 bytes per file)
  • Uncheck Index date modified (8 bytes per file)
  • Uncheck Fast path sort (8 bytes per file)
  • Uncheck any other options on the Indexes option page.
  • Click OK.
The service can double the ram usage during indexing.

Does this help with the memory usage?

Consider excluding some files from your index.

testaccount2020
Posts: 4
Joined: Sat May 16, 2020 11:32 am

Re: High RAM usage

Post by testaccount2020 » Thu May 21, 2020 7:57 am

void wrote:
Wed May 20, 2020 1:10 am
How large is your Everything.db?
http://prntscr.com/skwhzt
What information are you indexing (eg: Tools -> Options -> Indexes -> Index file size)?
Everything from images to music and videos and documents etc.
How many search windows do you have open? Each search window will use about 8 bytes per file (240MB for 30 million files).
0 windows. I run the program in the background. When searching, I only have 1 window open at a time
For 30 million + files, please try disabling size/date indexing and running Everything as an administrator:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Uncheck Everything service.
  • Check Run as administrator.
  • Click the Indexes tab on the left.
  • Uncheck Index recent changes.
  • Uncheck Fast size sort (8 bytes per file)
  • Uncheck Index file size (8 bytes per file)
  • Uncheck Fast date modified sort (8 bytes per file)
  • Uncheck Index date modified (8 bytes per file)
  • Uncheck Fast path sort (8 bytes per file)
  • Uncheck any other options on the Indexes option page.
  • Click OK.
The service can double the ram usage during indexing.

Does this help with the memory usage?

Consider excluding some files from your index.
Lowers the usage by 500mb. Its now at 4.5 gb on average.

therube
Posts: 2529
Joined: Thu Sep 03, 2009 6:48 pm

Re: High RAM usage

Post by therube » Thu May 21, 2020 2:47 pm

(That's big, from what I'm used to.)

The Everything.db.tmp, is that something of your doing or an intermediary file made by Everything itself?

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

Re: High RAM usage

Post by void » Fri May 22, 2020 8:19 am

The large Everything.db suggests your average filename is really long.
The high memory usage is expected for the large number of files with long filenames.

The Everything.db.tmp is created by Everything.
It is a partially saved database.
It is renamed to Everything.db when saving completes.

Post Reply