program lockup

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
franco
Posts: 297
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Been thanked: 9 times

program lockup

Post by franco » Mon Apr 30, 2018 5:11 pm

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
Franco Bushie
Canada

User avatar
hmgchang
Posts: 240
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia
Has thanked: 1 time
Been thanked: 4 times

Post by hmgchang » Fri May 11, 2018 9:03 pm

Dear Franco,

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

TIA

best rgds
Chang
Just Hmg It !

User avatar
serge_girard
Posts: 2155
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 464 times
Been thanked: 108 times
Contact:

Post by serge_girard » Sat May 12, 2018 10:33 am

Franco,

Corner X will trigger a window release.

Serge

franco
Posts: 297
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Been thanked: 9 times

Post by franco » Mon May 14, 2018 4:42 am

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
Franco Bushie
Canada

User avatar
apais
Posts: 286
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 36 times
Been thanked: 22 times
Contact:

Post by apais » Mon May 14, 2018 1:19 pm

temp memory tables need to be DROPPED or they will remain in memory
dbclosearea() is not enought.

HTH
Angel

franco
Posts: 297
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Been thanked: 9 times

Post by franco » Sun Jun 03, 2018 4:12 pm

Is release the same as drop.
createtemp tr
use &tr
use
release tr
or should I DROP tr ????????
Thanks Franco
Franco Bushie
Canada

User avatar
apais
Posts: 286
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 36 times
Been thanked: 22 times
Contact:

Post by apais » Sun Jun 03, 2018 5:04 pm

dbdrop('tr') is mandatory

franco
Posts: 297
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Been thanked: 9 times

Post by franco » Sun Jun 03, 2018 5:54 pm

Thanks apais, ...... I will use.
Franco
Franco Bushie
Canada

Post Reply