U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » FileSel&FileList, Path » FileSel takes quite a lot of CPU on Windows
Re: FileSel takes quite a lot of CPU on Windows [message #58419 is a reply to message #58418] Wed, 18 May 2022 13:42 Go to previous messageGo to previous message
Tom1
Messages: 1319
Registered: March 2007
Ultimate Contributor
Mirek,

OK, now I can see it: I have a shortcut (link) on my desktop to an exe file on my server. So, the shortcut ("program1.exe - shortcut.lnk") points to "\\nas\share\program.exe". When I open FileSel, this causes the enormous CPU loading for quite some time.

If I map the \\nas\share to a network drive s: and change the shortcut to point to s:\program.exe, then the scanning proceeds much faster, just in a couple of seconds of CPU core domination.

How about making exe file icon loading optional through user configurable flag, such as: FileSel& LoadExeFileIcons(bool f); ?

BTW: Is it essential to load icons for network files at all?

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FileSelNative::AllFilesType() doesn't show files without extensions on Linux
Next Topic: BUG + FIX: FileSelNative shows default filename as some trash characters
Goto Forum:
  


Current Time: Wed May 27 11:19:03 GMT+2 2026

Total time taken to generate the page: 0.00700 seconds