View Single Post
  #3 (permalink)  
Old 02-03-2010, 04:19 PM
Byak@'s Avatar
Byak@ Byak@ is offline
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Andrew, as i know .Net allocate a "working set" in memory (when program start) and size of this set bigger than needed (for future) (and if we have many RAM this set bigger).
this code must change a working set to minimum needed.
for example our program have only one form and button,showed msgbox. but in memory this program use (!) 12mb in virtual memory (i have 2gb RAM) and it's working set 9mb!
as i'm understand with code,posted by me our program must use only ~1mb
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote