Foundset and memory

Questions and answers for designing and implementing forms in Servoy

Foundset and memory

Postby leonid » Sun Sep 23, 2012 6:29 pm

Hi,guys
May be a dummy question. I have 2 forms A and B with same data source. Form A loading records in record view and Form B in table view mode. Both forms running in main windows application.When I calling form B after Form A I can see only one record in my grid. To see all records in Form B I have to force Servoy to loading records in onLoad event (foundset.loadrecord()). I know that foundset saved in memory ,but when I call other form in main application window the foundset suppose to clear. Is it loosing memory? If user during a day open 500 different forms and all foundset will stay in memory,is it slow down system ? What is the best practice for memory and speeding issue : remove foundset from memory,for example onHide event ,foundset.clear() and still use on each form in onLoad event foundset.loadrecord() or just always force Servoy to load records w/o foundset cleaning.
Leonid,
Servoy / Foxpro / Java
leonid
 
Posts: 34
Joined: Wed Aug 29, 2012 1:58 am

Return to Forms

Who is online

Users browsing this forum: No registered users and 5 guests

cron