I got my tools from trusted source, here's one:
http://schnaader.info/precomp.php
I am compressing games so a lot of variety in files.
Explorer window is not even open.
The funny thing is that explorer.exe is never releasing the memory when I kill the compression, also if I start explorer in the middle of compression it starts to allocate heap memory as well.
It must be some function that is also used by norton commander as it behaves the same when I kill explorer and use it instead.
I will try to trace it down with x64dbg, I think you're right about explorer.exe trying to do some indexing or previews for the files that are constantly modified but weird that it doesn't release the memory.
Will post when I find something.
edit1: After viewing memory map for the allocated heap I can see it's not doing anything with it, all zeroes.
edit2: I can see on explorer stack there's path to temporary file that my compression tool is working at and before that some appresolver return addresses.
edit3: Interesting line on stack little before path to my working file:
&"pcshell\\shell\\appresolver\\lib\\appresolvercache.cpp"
edit4: found some relations with windows font cache service, will diable it and see if it helps.
edit5: didn't help. I think some windows service called by explorer.exe got problem with names that include "$" and "~", unfortunately I must wait for my current compression to end to modify configs to use normal names and test it.
edit6: disabled all the visual effects in the system didn't help, set manually reg:
1 2
|
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband
NumThumbnails REG_DWORD = 0
|
And waiting, so far so good.
edit7: didn't help..
edit8: trying newer version of compression tools, so far so good.
Problem solved, it seems old version of precomp.exe was causing the trouble... Thank You for your time my friends, I didn't suspect my tools as I am using them for so long but this is new system and I should have checked that first...
Cheers!
@edit: problem returned, i will just kill explorer.exe for the time of compression. It eats memory but at a much lower rate.