Re: strange behaviour

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alex Feinman [MVP] (public_news_at_alexfeinman.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 08:49:17 -0700

I asked the question precisely because I suspected the answer will be XDA2.
Your description had all the right signs of the infamous
XDA2-running-out-of-available-processes issue. The limit is a hard
restriction in the OS, but following Peter's advice should let you alleviate
the problem

-- 
Alex Feinman
---
Visit http://www.opennetcf.org
"Mark Irvine" <markpirvine@hotmail.com> wrote in message 
news:u4qkf%23ziEHA.2812@tk2msftngp13.phx.gbl...
> Alex,
>
> I'm using the XDA 2 (from O2) powered by pocket pc 2003.  Is it possible 
> to
> change this limit?
>
> Mark
>
> "Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
> news:eXoZz%23tiEHA.2808@TK2MSFTNGP10.phx.gbl...
>> What is your device? I think you might be reaching an active process
> limit.
>> This will force come apps to close even if you have plenty of memory
>>
>> -- 
>> Alex Feinman
>> ---
>> Visit http://www.opennetcf.org
>> "Mark Irvine" <markpirvine@hotmail.com> wrote in message
>> news:OiqkjzpiEHA.3148@TK2MSFTNGP10.phx.gbl...
>> > Peter,
>> >
>> > Many thanks for the prompt reply.  Part of the closing procedure is to
> ask
>> > the user if they want to save data, so state is maintained. I chedked
> the
>> > memory status and 48MB free for programs to use.  It does also happen
>> > sometimes when in the application.  I'm very confused.
>> >
>> > Mark
>> >
>> > "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
>> > news:e%23ZxTrpiEHA.3632@TK2MSFTNGP09.phx.gbl...
>> >> If the system is running low on memory it will try to close
> applications
>> > and
>> >> if your app is relegated to the background it will be eligible for 
>> >> this
>> >> "cleanup". You need to design your app to save it's state so a user 
>> >> can
>> > load
>> >> it and resume from wherever they left off. Also look at the memory
> usage
>> > of
>> >> your app (or other apps running concurrently) and see if you can 
>> >> reduce
>> >> this.
>> >>
>> >> Peter
>> >>
>> >> -- 
>> >> Peter Foot
>> >> Windows Embedded MVP
>> >> www.inthehand.com | www.opennetcf.org
>> >>
>> >> Do have an opinion on the effectiveness of Microsoft Windows Mobile 
>> >> and
>> >> Embedded newsgroups?  Let us know!
>> >> https://www.windowsembeddedeval.com/community/newsgroups
>> >>
>> >> "Mark Irvine" <markpirvine@hotmail.com> wrote in message
>> >> news:%23HNSyjpiEHA.536@TK2MSFTNGP11.phx.gbl...
>> >> > Hi,
>> >> >
>> >> > I'm having a rather strange problem with a c# app that I wrote, 
>> >> > every
>> > now
>> >> > and then - no pattern at all, the close method appears to be
>> > automatically
>> >> > called and the application closes down.  This has happened to me a
> few
>> >> > times, but I can't understand why.  On most occassions this happens
>> >> > when
>> >> > the
>> >> > user taps the start menu and opens another application.  Has anyone
>> >> > come
>> >> > across this before?
>> >> >
>> >> > Mark
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
> 


Relevant Pages

  • Re: strange behaviour
    ... Peter Foot ... "Mark Irvine" wrote in message ... >>> memory status and 48MB free for programs to use. ... >>>> your app and see if you can ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Programatically design a form
    ... Is the limit on the number of controls based upon EACH ... form in a VBA app? ... info on determining if memory is being cleared correctly? ... Once again, Peter, you've helped me immensely. ...
    (microsoft.public.vb.general.discussion)
  • Re: Programatically design a form
    ... Is the limit on the number of controls based upon EACH ... > form in a VBA app? ... load into memory, which would occur if you copy controls from one form to ... Peter T ...
    (microsoft.public.vb.general.discussion)
  • Re: OpenNETCF question...
    ... Peter, thanks for the reply. ... into the app? ... >> My app current requires the user to install the smart device framework ... For example memory issues, etc? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: strange behaviour
    ... This will force come apps to close even if you have plenty of memory ... "Mark Irvine" wrote in message ... You need to design your app to save it's state so a user can ...
    (microsoft.public.dotnet.framework.compactframework)