HighTechTalks DotNet Forums  

Not enough memory free after a few minutes

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Not enough memory free after a few minutes in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
td
 
Posts: n/a

Default Not enough memory free after a few minutes - 12-28-2007 , 02:42 AM






Hello,
We have an application written in C# running on ppc (mobile 2005)
Free memory before working : about 25Mo.
The application is cut in little dlls.
Each call to resources is suuround with "using" instruction.
After a few minutes and a 100 clics, we have only 1Mo left on the device.

Could someone help us.
I remark, that, when I have about 5Mo left, if I start another application
like Pocket Excel, the free memory grows again.

Thanks




Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: Not enough memory free after a few minutes - 12-28-2007 , 09:16 AM






The last behavior is definitely expected. I suggest that you read up on how
the GC wortks in the CF. MSDN has a decent webcast that covers the topic.


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"td" <thierrydotdistelatwurthdotfr> wrote

Quote:
Hello,
We have an application written in C# running on ppc (mobile 2005)
Free memory before working : about 25Mo.
The application is cut in little dlls.
Each call to resources is suuround with "using" instruction.
After a few minutes and a 100 clics, we have only 1Mo left on the device.

Could someone help us.
I remark, that, when I have about 5Mo left, if I start another application
like Pocket Excel, the free memory grows again.

Thanks






Reply With Quote
  #3  
Old   
td
 
Posts: n/a

Default Re: Not enough memory free after a few minutes - 12-28-2007 , 11:16 AM



OK, could you give me the link please ?

"<ctacke/>" <ctacke[at]opennetcf[dot]com> a écrit dans le message de news:
ew6rUSWSIHA.3400 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
Quote:
The last behavior is definitely expected. I suggest that you read up on
how the GC wortks in the CF. MSDN has a decent webcast that covers the
topic.


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"td" <thierrydotdistelatwurthdotfr> wrote in message
news:%235gye2SSIHA.5164 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
Hello,
We have an application written in C# running on ppc (mobile 2005)
Free memory before working : about 25Mo.
The application is cut in little dlls.
Each call to resources is suuround with "using" instruction.
After a few minutes and a 100 clics, we have only 1Mo left on the device.

Could someone help us.
I remark, that, when I have about 5Mo left, if I start another
application like Pocket Excel, the free memory grows again.

Thanks








Reply With Quote
  #4  
Old   
 
Posts: n/a

Default Re: Not enough memory free after a few minutes - 12-28-2007 , 11:24 AM



Search engines work pretty well:

http://www.google.com/search?q=compa...ment+webca st


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"td" <thierrydotdistelatwurthdotfr> wrote

Quote:
OK, could you give me the link please ?

"<ctacke/>" <ctacke[at]opennetcf[dot]com> a écrit dans le message de news:
ew6rUSWSIHA.3400 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
The last behavior is definitely expected. I suggest that you read up on
how the GC wortks in the CF. MSDN has a decent webcast that covers the
topic.


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"td" <thierrydotdistelatwurthdotfr> wrote in message
news:%235gye2SSIHA.5164 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
Hello,
We have an application written in C# running on ppc (mobile 2005)
Free memory before working : about 25Mo.
The application is cut in little dlls.
Each call to resources is suuround with "using" instruction.
After a few minutes and a 100 clics, we have only 1Mo left on the
device.

Could someone help us.
I remark, that, when I have about 5Mo left, if I start another
application like Pocket Excel, the free memory grows again.

Thanks










Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.