Thank you for the suggestions.  I will add code to check for error in
memory allocation routines.

-Elizabeth


                                                                                       
                          
                    "Yu, Ken [IT]" <[EMAIL PROTECTED]>                                   
                          
                    Sent by:                                To:     Palm Developer 
Forum                         
                    bounce-palm-dev-forum-8072@news.        
<[EMAIL PROTECTED]>                     
                    palmos.com                              cc:                        
                          
                                                            Subject:     RE: Palm 
crashed at application         
                                                            launching                  
                          
                    08/07/01 02:22 PM                                                  
                          
                    Please respond to Palm Developer                                   
                          
                    Forum                                                              
                          
                                                                                       
                          
                                                                                       
                          




If there's not enough memory to store the app, HotSync Install will fail
and
the app will never make it onto the device.  However, your app also uses
memory as it runs.  So even if it 'fits' on the device, it can crash if it
doesn't have enough working memory.  Therefore, it is good practice to give
an error if your app cannot allocate enough memory during runtime (e.g.
checking if MemHandleNew() calls are successful).

Perhaps you can duplicate the problem in POSE.  Try filling up memory by
installing PDB's and other PRC's to near capacity and run your app and see
how it behaves.

-Ken



> ----------
> From:
> [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Reply To:          Palm Developer Forum
> Sent:         Tuesday, August 07, 2001 5:01 PM
> To:           Palm Developer Forum
> Subject:           RE: Palm crashed at application launching
>
>
> Yes I did and it didn't crash in the other Palm's.  But if an application
> crashes at any Palm device, this application has bug(s).  Doesn't Palm
> Install program take care of the low memory problem?  Do you add code to
> handle low memory before the application launches?
>
> -Elizabeth
>
>
>
>
>                     "Yu, Ken [IT]" <[EMAIL PROTECTED]>
>
>                     Sent by:                                To:     Palm
> Developer Forum
>                     bounce-palm-dev-forum-8072@news.
> <[EMAIL PROTECTED]>
>                     palmos.com                              cc:
>
>                                                             Subject:
> RE: Palm crashed at application
>                                                             launching
>
>                     08/07/01 10:07 AM
>
>                     Please respond to Palm Developer
>
>                     Forum
>
>
>
>
>
>
>
>
>
> did you try installing your app on the IIIx without the other apps? if it
> still crashes, you can rule out the low memory theory.
>
> -Ken
>
> > ----------
> > From:
> > [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> > Reply To:          Palm Developer Forum
> > Sent:         Tuesday, August 07, 2001 12:22 PM
> > To:           Palm Developer Forum
> > Subject:           Palm crashed at application launching
> >
> > Hi,
> >
> > I installed an application to a client's Palm IIIx and it crashed the
> Palm
> > when the application was launching.  My client had to do a hard reset
> and
> > reinstall all the applications.  But the same application didn't crash
> the
> > other Palm.  Is this related to available memory to start the
> application?
> > I don't see the Palm sample applications have memory check before
> > launching.  Thanks.
> >
> >
> > -Elizabeth
> >
> >
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> > please see http://www.palmos.com/dev/tech/support/forums/
> >
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>

--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to