program lockup

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

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

program lockup

Post 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
All The Best,
Franco
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 »

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: 2484
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 780 times
Been thanked: 147 times
Contact:

Post by serge_girard »

Franco,

Corner X will trigger a window release.

Serge

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

Post 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
All The Best,
Franco
Canada

User avatar
apais
Posts: 330
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 56 times
Been thanked: 35 times
Contact:

Post by apais »

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

HTH
Angel

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

Post by franco »

Is release the same as drop.
createtemp tr
use &tr
use
release tr
or should I DROP tr ????????
Thanks Franco
All The Best,
Franco
Canada

User avatar
apais
Posts: 330
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 56 times
Been thanked: 35 times
Contact:

Post by apais »

dbdrop('tr') is mandatory

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

Post by franco »

Thanks apais, ...... I will use.
Franco
All The Best,
Franco
Canada

Post Reply