On a system with 590k objects, a search (with match path) of 'a' which returns 571372 objects in Everything 'the GUI' does not return from the Everything_Query call using the SDK. Setting Everything_SetMax to 517168 fixed, 517169 hung. (Returns the correct GetTotResults). The 517168 is variable with different searchs, so it is probably size related rather than number (Just guessing). The hang is non-CPU-consuming (like a wait of sorts).
Happy Holidays,
Tony, Durban, South Africa
SDK Everything_Query hangs with large result set
Re: SDK Everything_Query hangs with large result set
I have been unable to re-produce this error.
Are there any errors reported in the Errorlog.txt file in your Everything installation folder?
Try running "Everything" in debug mode.
To run "Everything" in debug mode:
Run Everything.exe with the -debug command line option:
What is displayed in the debug console when sending the IPC Query?
Are there any errors reported in the Errorlog.txt file in your Everything installation folder?
Try running "Everything" in debug mode.
To run "Everything" in debug mode:
Run Everything.exe with the -debug command line option:
Code: Select all
Everything.exe -debug
Re: SDK Everything_Query hangs with large result set
System has more files now so numbers have changed but results are still the same
No SetMax - Hangs in WaitMessage() in _Everything_thread_proc (on first entry of loop: so it's not getting any interfering messages):
found 56741 folders, size 327680, db search time taken: 0.033958 seconds
found 539780 files, size 2228224, db search time taken: 0.286944 seconds
...slight delay...
IPC: Client disconnected.
SetMax 510000 - Returns correctly:
found 56741 folders, size 327680, db search time taken: 0.035241 seconds
found 539780 files, size 2228224, db search time taken: 0.298020 seconds
...slight delay...
IPC: Client disconnected.
Same on release version and latest beta.
Weird !
BTW in the CSharp example Everything_Query is called without the wait flag - () in place of (true)
It works by luck of a non-zero AX register. Not related to this problem though.
No SetMax - Hangs in WaitMessage() in _Everything_thread_proc (on first entry of loop: so it's not getting any interfering messages):
found 56741 folders, size 327680, db search time taken: 0.033958 seconds
found 539780 files, size 2228224, db search time taken: 0.286944 seconds
...slight delay...
IPC: Client disconnected.
SetMax 510000 - Returns correctly:
found 56741 folders, size 327680, db search time taken: 0.035241 seconds
found 539780 files, size 2228224, db search time taken: 0.298020 seconds
...slight delay...
IPC: Client disconnected.
Same on release version and latest beta.
Weird !
BTW in the CSharp example Everything_Query is called without the wait flag - () in place of (true)
It works by luck of a non-zero AX register. Not related to this problem though.
Re: SDK Everything_Query hangs with large result set
Correction: not latest beta - 1.2.1.451a and 1.2.1.371