RE: Minimizing executable memory usage

"Keuchel, Rainer" <keuchel-ypdxL0zNX99Wk0Htik3J/[email protected]> Thu, 18 Aug 2005 17:48:42 +0200
Newsgroups gmane.comp.windows.ce.freeware
Message-ID <7252F381626D5A469006C7A8157EAEAC012F3C29@achb_email.allgeier.net>
> I have an executable that has a running footprint of about 8 
> megabytes.  The 
> code compiles into either a CE binary or a Windows win32 
> executable with 
> Visual Studio C++ 6, so I've profiled the memory usage with 
> BoundsChecker 
> and I'm certainly not seeing dynamic allocations made by the 
> code that come 
> anywhere close to that 8 meg.  So my assumption is that I'm 
> getting code 
> bloat based on my design or based on linkages.  I just don't 
> know how I 
> approach reducing that.

What processor do you compile for? You might try THUMB/Interworking  for ARM
processors.
How large is the executable?
How do you measure memory usage?
Do you use lot's of inline-functions?
Do you use special libraries?
Do you have large static arrays?
Send output of "dumpbin /headers <your exe>"


------------------------------------
Visit us at : www.allgeier.com




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h2f63pp/M=362335.6886445.7839731.1510227/D=groups/S=1707281942:TM/Y=YAHOO/EXP=1124387745/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~->