Is it normal that my 25KB exe would use 1.8MB of memory?

Started by x79, March 23, 2015, 06:40:41 AM

Previous topic - Next topic

x79

Not that I'm really worried about this little bit of memory, I just want to be sure that it's normal.

DMac

It is probably because you are calling ShellExecuteEx().  It seems to initialize the shell class which is used in every shell function.  You will also notice this kind of memory usage when you call GetOpenFilename() for a file browser.  I have found that memory allocation related to shell functions slowly decrease over time if the calling application sits idle.
No one cares how much you know,
until they know how much you care.

x79

ahhh, ok.
Quote from: DMac on March 23, 2015, 07:18:04 PMI have found that memory allocation related to shell functions slowly decrease over time if the calling application sits idle.

I noticed the same thing. Thx for putting my mind at ease.