Slow startup on first query

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
soul4kills
Posts: 39
Joined: Mon Sep 04, 2023 4:12 am

Slow startup on first query

Post by soul4kills »

I'll describe what i'm experiencing.

Everything loads up in the background with -startup flag.
I won't touch everything for good amount of time.
Then when I decide to bring up query window for the first time, it takes between 30 - 60 seconds to become responsive. While showing "Querying..." in the status bar.
But afterwards, every time I bring up a query window, it's instant.

Is there a setting somewhere to make what's happening during that first query window to have it performed in the background. So when I open my first query window, it will be instant.

I'm using the latest alpha.

Debug Statistics

Code: Select all

Indexed file properties:	Name, Path, Size, Date Created, Date Modified, Date Accessed, Attributes, Length
Indexed folder properties:	Name, Path, Size, Date Created, Date Modified, Date Accessed, Attributes
Fast sorts:	Name, Path, Size, Date Created, Date Modified, Date Accessed, Attributes, Extension, Length
Folder count:	320,967
File count:	1,539,597
Total item count:	1,860,564
FAT index count:	0
NTFS index count:	3
ReFS index count:	0
Network drive index count:	0
Folder index count:	0
File list index count:	0
Network index count:	0
Total index count:	3
Folder data size:	23,317,293 bytes
File data size:	110,613,506 bytes
Total data size:	133,930,799 bytes
Average folder data size:	72 bytes
Average file data size:	71 bytes
Folder index size:	17,974,152 bytes
File index size:	110,850,984 bytes
Total index size:	128,825,136 bytes
Total size:	262,755,935 bytes
Folders created:	177,564
Folders modified:	32,313,416
Folders deleted:	153,497
Folders moved:	8,132
Files created:	5,670,471
Files modified:	17,273,172
Files deleted:	5,084,793
Files moved:	2,695,508

Journal
Enabled:	Yes
ID:	0x01dbfddbf42753e4
Size:	1,027,446 bytes
Max size:	1,048,576 bytes
First item ID:	11445
Next item ID:	16726
Item count:	5,281

Build
Count:	27
Total duration:	02:53
Minimum duration:	2.157298 seconds
Maximum duration:	14.012913 seconds
Average duration:	6.421396 seconds
Last duration:	8.760274 seconds
Last build date:	7/25/2025 8:18 PM
Last rebuild reason:	Structure flags changed.

Update
Count:	1,837,492
Total duration:	14:45
Minimum duration:	0.000000 seconds
Maximum duration:	35.056274 seconds
Average duration:	0.000481 seconds
Last duration:	0.000133 seconds
Last update date:	7/25/2025 9:36 PM

Load
Count:	107
Total duration:	02:06
Minimum duration:	0.319131 seconds
Maximum duration:	3.966169 seconds
Average duration:	1.179019 seconds
Last duration:	1.230458 seconds
Last load date:	7/25/2025 9:30 PM

Save
Count:	146
Total duration:	01:56
Minimum duration:	0.360126 seconds
Maximum duration:	1.415462 seconds
Average duration:	0.795045 seconds
Last duration:	0.744776 seconds
Last save date:	7/25/2025 9:30 PM
Next scheduled save date:	7/26/2025 4:00 AM
Total bytes written:	18,944,229,960

Query
Count:	17,602
Total duration:	33:13
Minimum duration:	0.000002 seconds
Maximum duration:	62.665535 seconds
Average duration:	0.113240 seconds
Last duration:	0.014460 seconds
Last query date:	7/25/2025 9:31 PM
Total result count:	1,073,999,235
Maximum result count:	2,222,116
Average result count:	61,015
Last result count:	12,000

Sort
Count:	11
Total duration:	00:21
Minimum duration:	0.000030 seconds
Maximum duration:	14.466576 seconds
Average duration:	1.945926 seconds
Last duration:	6.797678 seconds
Last sort date:	7/24/2025 3:43 AM

NTFS Index
Volume name:	\\?\Volume{02}
Path:	C:
Root:	
Include only:	
Drive type:	Fixed
Label:	
Index number:	0
Date indexed:	7/25/2025 8:18 PM
Out of date:	No
Online:	Yes
Disk device index:	1
Multithreaded:	Yes
Folder count:	86,972
File count:	245,117
USN Journal ID:	0x01dba3d8ea1c6053
Next USN:	0x000000032c1bbda8

NTFS Index
Volume name:	\\?\Volume{47}
Path:	D:
Root:	
Include only:	
Drive type:	Fixed
Label:	10TB
Index number:	1
Date indexed:	7/25/2025 8:18 PM
Out of date:	No
Online:	Yes
Disk device index:	0
Multithreaded:	Separate device thread
Folder count:	8,849
File count:	345,453
USN Journal ID:	0x01db590a29387b20
Next USN:	0x00000000310ac7c8

NTFS Index
Volume name:	\\?\Volume{fd}
Path:	E:
Root:	
Include only:	
Drive type:	Fixed
Label:	8TB
Index number:	2
Date indexed:	7/25/2025 8:18 PM
Out of date:	No
Online:	Yes
Disk device index:	2
Multithreaded:	Yes
Folder count:	225,146
File count:	949,027
USN Journal ID:	0x01db590a293abac9
Next USN:	0x00000003124bf6d8

Modified Settings.
image.png
image.png (61.25 KiB) Viewed 9861 times
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Slow startup on first query

Post by void »

Querying should be instant.
Sounds like Everything has been paged to disk.

How much RAM do you have? How much is free? and how much is Everything using?
soul4kills
Posts: 39
Joined: Mon Sep 04, 2023 4:12 am

Re: Slow startup on first query

Post by soul4kills »

Everything is using 315mb of ram.
I have 32gb of ram. 18.6gb free.
image.png
image.png (34.26 KiB) Viewed 9857 times
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Slow startup on first query

Post by void »

I'm using the latest alpha.
I don't think this is a RAM issue..
However, please check if locking memory in RAM helps:
  • 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:
    virtual
  • Select: virtual_lock
  • Set the value to: true
  • To the right of Show settings containing, search for:
    working
  • Select: min_working_set_size
  • Set the value to: 1073741824
  • Select: max_working_set_size
  • Set the value to: 1073741824
  • Click OK.
This will lock Everything into physical RAM.



There could be an issue with restoring the previous session..
Maybe Everything is restoring a slow sort? or slow query?
The next time Everything takes a while to load, wait for Everything to recover and please take note of the search query and sort.

Does the issue persist if you disable session_store_restore_on_first_new_window:
  • 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:
    session
  • Select: session_store_restore_on_first_new_window
  • Set the value to: false
  • Click OK.
Same applies with closed_window_restore_on_first_new_window.


Modified Settings.
FYI: the same information can be found under Help -> Troubleshooting information.
soul4kills
Posts: 39
Joined: Mon Sep 04, 2023 4:12 am

Re: Slow startup on first query

Post by soul4kills »

Tried everything suggested, did not change the behavior i'm experiencing.

Troubleshooting Information.

Code: Select all

Everything 1.5.0.1396a (x64)
OS:	Windows NT 10.0 26100 (x64)
Admin:	0
Service:	4 (connected / not installed)
Command line:	-startup
Binary:	C:\Users\soul4\OneDrive\Software\Apps\Everything\Everything64.exe
Profile:	C:\Users\soul4\AppData\Roaming\Everything\Everything.ini
Database:	C:\Users\soul4\AppData\Local\Everything\Everything.x.y.db
Instance:	

Config:
index_as_admin=1
thumbnail_fill=1
shell_max_path=0
open_searches_in_tabs=1
open_new_windows_in_tabs=1
check_for_updates_on_startup=1
hide_empty_search_results=1
clear_selection_on_search=0
toggle_window_key=1363
statusbar_selected_item_format=$o items   |   Size: $s   |   Created: $c   |   Modified: $m  |   Path: $p
statusbar_selection_format=<text:$result-count:,#,###> items   |   Size: $z   |   <text:$selection-count:,#,###> items selected
statusbar_view_thumbnail_size=176
window_title_format=$s?{$s - }$v
alpha_instance=0
closed_window_restore_on_first_new_window=1
auto_include_removable_volumes=1
auto_include_fixed_refs_volumes=1
auto_include_removable_refs_volumes=1
auto_remove_offline_refs_volumes=1
auto_include_fixed_fat_volumes=1
auto_include_removable_fat_volumes=1
auto_remove_offline_fat_volumes=1
auto_include_remote_volumes=1
auto_remove_offline_remote_volumes=1
min_working_set_size=1073741824
max_working_set_size=1073741824
virtual_lock=1
mem_trim=0
thumbnail_min_margin_wide=4
thumbnail_min_margin_high=4
thumbnail_padding_left=0
thumbnail_padding_top=0
thumbnail_padding_right=0
thumbnail_padding_bottom=0
focus_on_hover=1
filelist_preview=0
filelist_context_menu=0
open_many_files_warning_threshold=5
home_match_case=1
home_match_whole_word=1
home_match_path=1
home_match_diacritics=1
home_match_prefix=1
home_match_suffix=1
home_ignore_punctuation=1
home_ignore_whitespace=1
home_regex=1
home_filter=1
home_columns=1
home_sort=1
home_view=1
home_omit_results=2
single_click_tray=1
path_hit_text_only=1
auto_scroll_view=1
search_edit_drag_accept_files=0
focus_search_on_activate=1
wrap_focus=2
request_extra_fileinfo_start=1000
request_extra_fileinfo_end=1000
tabs_always_show=1
tabs_margin_top=0
tabs_high=20
tabs_close_button=0
tabs_load_in_background=0
tabs_double_click_action=1
tabs_close_window_with_last_tab=0
full_row_select=0
paste_new_line_op=0
menu=0
search_delay=500
exclude_files=regex:^[^.]+$
db_multi_user_filename=1
index_date_created=1
fast_date_created_sort=1
index_date_accessed=1
fast_date_accessed_sort=1
index_attributes=1
fast_attributes_sort=1
fast_extension_sort=1
index_recent_changes=1
secondary_sort_folders_first=2
show_copy_full_name=0
show_open_path=0
show_explore_path=1
context_menu_parent_folder=1
context_menu_copy_column_value=1
context_menu_set_run_count=0
filter=EVERYTHING
filter_everything_name=Everything
omit_results=1
temp_omit_results=1
preview_fill=1
always_keep_sort=1
findbar_highlight_all=0
search_history_keep_forever=0
run_history_keep_forever=0
search_history_always_suggest=1
plugins=0
columns=[{"name":"Name","width":329},{"name":"Size","width":91},{"name":"Date Modified","width":118},{"name":"Path","width":381}]
ntfs_volumes=[{"path":"C:","volume_name":"\\\\?\\Volume{02}","load_recent_changes":1},{"path":"D:","volume_name":"\\\\?\\Volume{47}","load_recent_changes":1},{"path":"E:","volume_name":"\\\\?\\Volume{fd}","load_recent_changes":1}]
properties=[{"name":"Length","include_only_folders":"D:\\;E:\\","include_only_files":"*.flac;*.mp3;*.wav;*.ogg;*.mkv;*.mp4;*.avi;*.flv;*.webm;*.m4a","exclude_recall_on_data_access":1,"fast_sort":1}]
exclude_folders="E:\\Symlinks\\Local\\Mozilla\\Firefox\\Profiles\\gwt1yx0u.Default-Release\\cache2"

Policy:

Plugins:
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Slow startup on first query

Post by void »

I think this is caused by your result omission list.

Do you have a large result omission list?

-Please try disabling the result omission list and see if the issue persists. (Index -> Uncheck enable result omissions)
-Please also temporarily disable home_omit_results under Tools -> Options -> Advanced.
The next alpha update will load and apply the result omission list on startup.
soul4kills
Posts: 39
Joined: Mon Sep 04, 2023 4:12 am

Re: Slow startup on first query

Post by soul4kills »

Yes I have quite a bit of regex: result omissions.

Turning off result omissions solved the problem. Appreciate your time helping me figure out the problem.

Can't wait for the next alpha version, solving this problem.
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Slow startup on first query

Post by void »

Everything 1.5.0.1397a will now load and apply result omissions on startup.
Post Reply