|
Home > Archive > Macromedia Flash Server > July 2005 > Why does my app keep crashing?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Why does my app keep crashing?
|
|
| Hans-Christian Andersen 2005-07-17, 5:45 pm |
| Chris,
1. Check your memory on the server while the chat service is running. If
there is any good reason, that I can imagine, which would cause the app
to crash, it would be an out-of-memory error.
2. I'm not quite sure how well FlashComm caches memory, because I know
it retains a lot in memory, rather than on disk. Also, check your
FlashComm service logs. It might give you an indication.
3. Un-ending loop in the chat program, which for some reason the Flash
player did not pick up?
4. I suppose theres a chance in theory that too many connections might
bomb the server or you might have dodgy network card? I've seen this
happen before. Some network card drivers bail at some point under too
much stress or load. Worst case scenario and least likely, IMO.
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Harper,
Chris
Sent: July 16, 2005 3:09 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Why does my app keep crashing?[vbcol=seagreen]
Regards,
- Hans-Christian Andersen
========================
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Frédéric v. Bochmann 2005-07-17, 5:45 pm |
| Good point arrosed.
#1 -- The Event Viewer Logs those well.
#2 -- Check your Event Viewer for error messages.
And #5 -- You might want to put a:
try {
Around some code that handles NetConnections.
This will keep your application from actually craching and
make it survive. AMF php can sometimes give you an error and you won't know
until your application crashes, so catch it instead and survive thru the
hard times.
} catch (e) {
// why was there an Exception ?
trace("error:"+e);
}
But it is not good practice to run unstable applications without
knowing the cause of their instability.
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Hans-Christian
Andersen
Sent: July 17, 2005 12:59 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Why does my app keep crashing?
Chris,
1. Check your memory on the server while the chat service is running. If
there is any good reason, that I can imagine, which would cause the app
to crash, it would be an out-of-memory error.
2. I'm not quite sure how well FlashComm caches memory, because I know
it retains a lot in memory, rather than on disk. Also, check your
FlashComm service logs. It might give you an indication.
3. Un-ending loop in the chat program, which for some reason the Flash
player did not pick up?
4. I suppose theres a chance in theory that too many connections might
bomb the server or you might have dodgy network card? I've seen this
happen before. Some network card drivers bail at some point under too
much stress or load. Worst case scenario and least likely, IMO.
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Harper,
Chris
Sent: July 16, 2005 3:09 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] Why does my app keep crashing?[vbcol=seagreen]
Regards,
- Hans-Christian Andersen
========================
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|