Page 1 of 1

program lockup

Posted: Mon Apr 30, 2018 5:11 pm
by franco
I am having program lockup problems. is there a way to when ever I go back to my main window to release all to clear everything except
public variables. Also does closing a window by the corner X trigger a window release. I might be building up to much memory use.
Thanks in advance.... Franco

Re: program lockup

Posted: Fri May 11, 2018 9:03 pm
by hmgchang
Dear Franco,

Pls attach your code in order for us to understand the situation

TIA

best rgds
Chang

Re: program lockup

Posted: Sat May 12, 2018 10:33 am
by serge_girard
Franco,

Corner X will trigger a window release.

Serge

Re: program lockup

Posted: Mon May 14, 2018 4:42 am
by franco
Chang program is very large. I will have to keep monitoring it to see if it locks at a certain area.
Thanks Serge, when a window is released are all variables and temp memory tables also released.
Franco

Re: program lockup

Posted: Mon May 14, 2018 1:19 pm
by apais
temp memory tables need to be DROPPED or they will remain in memory
dbclosearea() is not enought.

HTH
Angel

Re: program lockup

Posted: Sun Jun 03, 2018 4:12 pm
by franco
Is release the same as drop.
createtemp tr
use &tr
use
release tr
or should I DROP tr ????????
Thanks Franco

Re: program lockup

Posted: Sun Jun 03, 2018 5:04 pm
by apais
dbdrop('tr') is mandatory

Re: program lockup

Posted: Sun Jun 03, 2018 5:54 pm
by franco
Thanks apais, ...... I will use.
Franco