Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

strange behaviour

1 view
Skip to first unread message

Mark Irvine

unread,
Aug 25, 2004, 7:47:15 AM8/25/04
to
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


Peter Foot [MVP]

unread,
Aug 25, 2004, 7:58:22 AM8/25/04
to
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" <markp...@hotmail.com> wrote in message
news:%23HNSyjp...@TK2MSFTNGP11.phx.gbl...

Mark Irvine

unread,
Aug 25, 2004, 8:15:27 AM8/25/04
to
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]" <feed...@nospam-inthehand.com> wrote in message
news:e%23ZxTrpi...@TK2MSFTNGP09.phx.gbl...

Mark Irvine

unread,
Aug 25, 2004, 8:50:50 AM8/25/04
to
Hi,

This problem has really been confusing me, but I've noticed other programs
are being closed down as well, e.g. File Explorer. However this only seems
to happen, or at least more frequently, when the device is docked. Once
undocked I've not seen any occurance myself, although some users have
reported that the app does close down sometime for no reason.

Mark

"Mark Irvine" <markp...@hotmail.com> wrote in message
news:%23HNSyjp...@TK2MSFTNGP11.phx.gbl...

Peter Foot [MVP]

unread,
Aug 25, 2004, 9:10:35 AM8/25/04
to
Do you have any sync applications which auto-start on dock aside from
ActiveSync itself?

Peter

"Mark Irvine" <markp...@hotmail.com> wrote in message

news:ej4QVHq...@TK2MSFTNGP12.phx.gbl...

Mark Irvine

unread,
Aug 25, 2004, 9:18:24 AM8/25/04
to
Peter,

Just ActiveSync (guest partnership).

Mark

"Peter Foot [MVP]" <feed...@nospam-inthehand.com> wrote in message

news:%23PeuqTq...@TK2MSFTNGP09.phx.gbl...

Alex Feinman [MVP]

unread,
Aug 25, 2004, 4:11:26 PM8/25/04
to
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" <markp...@hotmail.com> wrote in message

news:Oiqkjzpi...@TK2MSFTNGP10.phx.gbl...

Mark Irvine

unread,
Aug 26, 2004, 3:40:23 AM8/26/04
to
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]" <publi...@alexfeinman.com> wrote in message
news:eXoZz%23tiEH...@TK2MSFTNGP10.phx.gbl...

Peter Foot [MVP]

unread,
Aug 26, 2004, 4:39:59 AM8/26/04
to
Do you have the latest ROM upgrade - latest version is 1.60.50:-
http://www.my-xda.com/downloads/xda2_upgrade.html

This makes a number of the built in applications run as services rather than
creating so many separate processes on startup.

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" <markp...@hotmail.com> wrote in message

news:u4qkf%23ziEH...@tk2msftngp13.phx.gbl...

Mark Irvine

unread,
Aug 26, 2004, 6:19:04 AM8/26/04
to
Peter,

Many thanks for your reply. I was running version 1.03.00 so I downloaded
the upgraded ROM. Things are a bit better, the device now seems to allow
four applications to run before shutting others down - still very strange
seeing as there is lots of memory available. Something new learned today :)

Mark

"Peter Foot [MVP]" <feed...@nospam-inthehand.com> wrote in message

news:uOBIHh0i...@TK2MSFTNGP09.phx.gbl...

Peter Foot [MVP]

unread,
Aug 26, 2004, 8:40:30 AM8/26/04
to
Another suggestion is to remove the O2 Active and other OEM installed
applications from the \Windows\Startup folder - e.g. IA Caller ID etc. This
will give you a few extra processes to play with. In the case of O2Active
you can remove it completely from Remove Programs application.

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" <markp...@hotmail.com> wrote in message

news:%23tUkKX1...@TK2MSFTNGP11.phx.gbl...

Alex Feinman [MVP]

unread,
Aug 26, 2004, 11:49:17 AM8/26/04
to
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" <markp...@hotmail.com> wrote in message

news:u4qkf%23ziEH...@tk2msftngp13.phx.gbl...

Mark Irvine

unread,
Aug 26, 2004, 12:26:07 PM8/26/04
to
Alex,

And you are correct! The ROM has improved things, was a bit worried in case
it was my code :) I had not heard of this problem before.

Thanks again for your help.

Mark

"Alex Feinman [MVP]" <publi...@alexfeinman.com> wrote in message

news:O$3q%23Q4iE...@TK2MSFTNGP12.phx.gbl...

Khanh

unread,
Aug 26, 2004, 11:38:01 PM8/26/04
to
hi all,

I saw the same problem on device Fujitsu Loox FLX3AW. It's really
anoying. I heard about memory problem in this group but it also
happens in case of no other application to be run, and memory is much
available. I assume the reason is the conflict between device hardware
and .NET compact framework(just assume).
I also heard about the bad quality of Fujitsu device, but I have no
chance to experiment on other devices. In the other hand, actually it
is difficult to reproduce this phenomenon.
Pls share information if knowing how to overcome.

Thanks,
Khanh

"Mark Irvine" <markp...@hotmail.com> wrote in message news:<OSmLSk4i...@tk2msftngp13.phx.gbl>...

Mark Irvine

unread,
Aug 27, 2004, 4:08:49 AM8/27/04
to
Hi,

Everyone has probably already read this article:

http://www.ppcw.net/?itemid=1645

Gives a good explanation of the problem.

Mark

"Khanh" <kh...@glassegg.com> wrote in message
news:b76c32be.04082...@posting.google.com...

0 new messages