I previously posted a problem concerning the application not being able to be loaded on the device. This problem was solved by using the DLL CEnhancedForm.cs, provided by Erel. Since than we were able to load the program. Since the applications was designed for a device with non VGA screen, forms had to be redesigned for a device with VGA screen (for HP ipaq 214) which lead to a increase of Forms to total of 82 Forms. Together with a database there is no problem in loading the application on the device. At any time a maximum of 4 forms are open, and after moving to the next form, the previous form is closed. I am using the hardware library to monitor usage and release of memory. Although, I close the previous form after moving to the next form, the memory allocation is increased with the same number of forms open. After having opened the 25th form, the application stops, showing the message “outofmemoryexceptioncontinue?”. Memory allocation at this point is about 1,020,000 (not sure of the unit).
Restarting the device helps only to move forth 2 more forms before the same message appears.
If we move back and forth the screens a few times, memory allocation increases, even beyond the 1,020,000 at which the application stops.
I attached the application, database, two JPG/GIF file.
Please help,
Regards,
Restarting the device helps only to move forth 2 more forms before the same message appears.
If we move back and forth the screens a few times, memory allocation increases, even beyond the 1,020,000 at which the application stops.
I attached the application, database, two JPG/GIF file.
Please help,
Regards,
Last edited: