PDA

View Full Version : exe size keeps increasing at run time



vinothrajendran
14th March 2015, 12:24
Hi all,

I have created an application which gets data from internet. I am dumping this data into QVector at stack. As time increases i am seeing my exe file size keeps increasing which i observe from Task Manager. I need to know if i dump my data at heap, will my exe size still varies.

and my final question, does our exe file keeps tab of both stack and heap allocated memory into its size ?????

wysota
14th March 2015, 13:08
"exe file size"? You mean Your executable binary file size increases? Or do you mean memory allocated by your executable? If you allocate memory then regardless if you do it on stack or on heap, it will be assigned to your application.