Jason said:
> My app runs normally and displays no errors while executing, however if the
> app is stopped and started
> maybe four or five times (number seems to vary) on launch the OS will report
> a "Chunk-Over Locked" error and the device requires a reset.    I can not
> get the emulator to replicate this nor does it indicate any memory errors.
> I recently read a post about a chap who had a problem similar to this and
> the solutions for him was to call "FrmCloseAll" upon exit of the app.  I
> have included this as the last action I do before the app exits; however I
> still have this problem.   Can any body shed any light on how to trace this
> Over locked chunk down.  I can say that every call to MemLock has a
> corresponding MemUnlock.  There must be some From function that is locking
> the memory and I just don't know I'm supposed to Unlock it manually?   Also
> I know there is a way to use the hd0 debugging function however I have not
> been able to find any documentation on it.

Your problem shouldn't have anything to do with:
    Your forms
    Your records in your database
    Your allocated memory
because:
    When your app quits, all memory you allocate is automatically
deallocated (unless you're calling MemPtrSetOwner)
    When your app quits, any databases you have opened are automatically
closed (unless you open it with dmModeLeaveOpen mode)
    When you open a database, it resets the record states (busy bits and
locked state) of all records in the database.

    So, it's kind of a mystery.

What does your app do? Does it do anything abnormal? (other than allocate
memory, open forms, modify records?)

Neil

--
Neil Rhodes
Calliope Enterprises, Inc.
1328 Clock Avenue
Redlands, CA  92374
(909) 793-5995     [EMAIL PROTECTED]      fax: (909) 793-2545

-- 
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