Zend certified PHP/Magento developer

Do programs use less resources when run for longer?

Would a computer program or app use less resources the longer it is kept active? I understand that this might be true, because of caching and the likes, but it feels really odd to me that when running a few programs (Edge browser, Anaconda, Spyder IDE, Discord) for more than an hour, they seem to use almost half the resources they demanded in the first half-hour.