f.lux updates the system profile many times per day on dual-GPU macs, and it's possible that Photoshop doesn't expect this to happen and leaks memory. Sounds like quite a bit.
You can turn our profile writer off using the instructions here:
https://justgetflux.com/news/2014/10/28/profile.html
(If anyone has a way to report this to Adobe, please do.)