General information
Category:
The Mere Mortals Framework
Title:
Forms still in memory after Doform()
Hi everybody,
We have an issue with our app slowing down after about an hour of heavy data entry and then eventually consuming all the computers resources and crashing. EEEKKK!!!
We tracked it down to this situation.
The following is in menubar1.click()
lcID = DoForm(GoApp.oMMFactory.GetClassName('Form1'), 'A')
IF !EMPTY(lcID)
lcID2 = DoForm(GoApp.oMMFactory.GetClassName('Form2'),lcID, 'A')
ENDIF
RETURN
Each time I click on this menu item, I can do a DISPLAY MEMORY and there is a Window definition for Form1. If I look at the datasessions, there is still Form1(1), Form1(2)...etc for each time I have run this code.
Why is DOFORM() not releasing these windows from memory and destroying their datasessions?
The form is based on cbizobjmodalform. It has one bizobj, a cgridlist, 4 buttons, chighlighteffect control and a cmouseoverfx control. It's just a list of client names that the user chooses.
Any help and/or suggestions will be appreciated.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only