Memory usage

Discussion related to "Everything" 1.5.
Post Reply
joebrug
Posts: 32
Joined: Thu Oct 06, 2022 7:45 pm

Memory usage

Post by joebrug »

We have multiple users sharing servers (Remote Desktop Services). Each user that opens Everything is using up about 700MB of memory. Currently, Everything is showing about 8,000,000 files. (10.1TB). So, I know the databases will be large. I'm just curious if there are any methods that I could use to lessen the amount of memory required at a per-user level. I am using the Network Index for one server. Maybe I'm missing a setting/configuration that the databases/memory usage would be primarily on the indexed server and not a per-user level.

Thanks! Love this program.
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Memory usage

Post by void »

700MB is expected for 8million files.

Optimal settings for Everything.

For the most impactful changes, disable indexing of Size and Date modified under Tools -> Options -> Indexes.

This will save about 250MB of RAM.



Excluding files/folders from your index
joebrug
Posts: 32
Joined: Thu Oct 06, 2022 7:45 pm

Re: Memory usage

Post by joebrug »

hi void.
Is disabling the size/date modified done at a per-user level or on the server that hosts the index? What ramifications, besides reclaiming memory, does disabling those have? Will the date modified and size no longer show up in everything?
Current settings on my machine are:
image.png
image.png (27.75 KiB) Viewed 1138 times
image.png
image.png (15.8 KiB) Viewed 1138 times
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Memory usage

Post by void »

Is disabling the size/date modified done at a per-user level or on the server that hosts the index?
Change the settings on the clients.
What ramifications, besides reclaiming memory, does disabling those have?
The information is still shown for visible items.
Searching and sorting for size or date modified information will be slow.
Everything will need to gather this information from disk when needed.
joebrug
Posts: 32
Joined: Thu Oct 06, 2022 7:45 pm

Re: Memory usage

Post by joebrug »

Gotcha. What impact (that a user would notice) do the "fast size sort" and "fast date modified sort" have??

and just to clarify, nothing on the server side to be done with the network index? All the heavy lifting is done per-user?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Memory usage

Post by void »

Gotcha. What impact (that a user would notice) do the "fast size sort" and "fast date modified sort" have??
Index Size and fast size sort
Instant searching for size.
Instant sorting by size.
Requires 16 bytes per file/folder.

Index Size and NO fast size sort
Instant searching for size.
sorting results by size will take a few seconds.
Requires 8 bytes per file/folder.

No Index Size
Searching for size will take minutes.
Sorting by size will take minutes.
If you narrow the results down first, then searching for size or sorting by size will only take a few seconds.


and just to clarify, nothing on the server side to be done with the network index? All the heavy lifting is done per-user?
Disable size and date modified indexing on the server if you don't have the RAM.
You will still need to disable size and date modified indexing on all the clients.

If you disable size and date modified indexing on the server and left size and date modified indexing enabled on the client, the client would just index blank values. These blank values would still consume 256MB of RAM.
joebrug
Posts: 32
Joined: Thu Oct 06, 2022 7:45 pm

Re: Memory usage

Post by joebrug »

Thanks, I'll try some combinations of these and see what works. At minimum I believe I can disable the fast sorting (and maybe folder size index too)

Side note: Looks like we're running an old version (1391) on both the workstations/RDS hosts and the server with the index. Simply copy new Everything.exe over the existing? or does it need to be "installed"? It is a service on the server, if that matters, so would stop that first. The Add/remove programs displays an even older version, but that's probably just because of copying the .exe to "update" instead of running an actual installer.
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Memory usage

Post by void »

1391 is pretty old.
Security has improved, the newer version will likely be unable to connect to your Everything server.

I recommend upgrading the server, Everything Server plugin and clients.

To update the client:
Simply exit Everything (File -> Exit)
Stop the Everything Service from the Task Manager.
Copy over the new Everything.exe
Restart Everything.

To update the server:
Stop the Everything Client Service:
Everything.exe -stop-client-service
Copy over the new Everything.exe
Update the Everything Server plugin
(run the installer or extract the portable version over \plugins\EverythingServer64.dll)
Restart the Everything Client Service:
Everything.exe -start-client-service
joebrug
Posts: 32
Joined: Thu Oct 06, 2022 7:45 pm

Re: Memory usage

Post by joebrug »

I was just logging into the server to attempt the upgrade. I already copied 1406 everything.exe over (things seem to be working fine so far). I noticed that the "Enable plugin" box isnt checked at the bottom... no harm?
image.png
image.png (74 KiB) Viewed 1094 times
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Memory usage

Post by void »

I noticed that the "Enable plugin" box isnt checked at the bottom... no harm?
The Everything Server will only work when "Enable plug-in" is checked.

It looks like your current Everything Server plugin is rather old (and not using the latest voidtools code signing certificate)
I highly recommend upgrading to the latest Everything Server.
joebrug
Posts: 32
Joined: Thu Oct 06, 2022 7:45 pm

Re: Memory usage

Post by joebrug »

void wrote: Thu Mar 05, 2026 3:15 am Gotcha. What impact (that a user would notice) do the "fast size sort" and "fast date modified sort" have??
if you disable Fast Date Modified Sort, is it expected behavior for Everything to forget you want things sorted by modified date?
If I sort by date, and type "moh" it works. If I keep typing i.e. "mohawk" it stays date modified. But if I remove 1 character i.e. "mohaw", its no longer sorted by date modified.
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Memory usage

Post by void »

if you disable Fast Date Modified Sort, is it expected behavior for Everything to forget you want things sorted by modified date?
Yes, Everything will only remember fast sorts.
Fast sorts can be set under Tools -> Options -> Indexes
Name is always a fast sort.

You can set the default sort under Tools -> Options -> Home -> Sort.

To always keep the last sort (not recommended):
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    sort
  • Select: always_keep_sort
  • Set the value to: true
  • Click OK.

If I sort by date, and type "moh" it works. If I keep typing i.e. "mohawk" it stays date modified. But if I remove 1 character i.e. "mohaw", its no longer sorted by date modified.
Everything will reuse the existing results and sort where possible to improve performance.
This is possible when you add a character to your search, but not when you remove a character.
Post Reply