Windows memory compression feature - maybe a thing to take advantage of more in ComfyUI? (if it is not already the case)
Hi, I noticed recently looking at the Task Manager that, during some stages in prompt execution, the compressed memory area gets to prety important size (this is for example during WAN 2.2 low noise ksampler or right after that, during VAE decoding):
I mean, 16 GB compressed when you have only 9 GB still available, that might mean a lot of disk swapping avoided. I observed those hefty compressed sizes relatively recently, I mean last 1.5-2 months maybe. I was used to see in general about 0 GB compressed. It might be the case I wasn't paying attention before. Or it might be the case that something in Windows 11 changed with the release of 25H2. Or it might be due to pinned memory feature? I am not sure.
Anyway, I opened this to suggest to ComfyUI team to consider taking advantage of this Windows feature while making future optimizations, in the case they have not already done so. I'm not sure there is anything to do here to optimize but I thought to say something anyway.
And in relation to that, maybe some tips for the users might be very helpful at some point, or some settings in windows less known or obvious that might be optimized for the use case of ComfyUI. Like what's best to set this option to, Programs or Background services?
Thanks!