Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Memory Management
Message
From
17/06/1997 23:12:47
 
 
To
17/06/1997 09:23:03
Rob Gordon
Xon Digital Communications Ltd.
Dartmouth, Nova Scotia, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00036628
Message ID:
00036740
Views:
39
> I need to know how VFP50 handles local vs private memory variables. Do you > have to expicitely release them to free up the memory before the routine > goes out of scope ? I have a rather complicated function that handles > incoming DDE messages. Over the course of several hours its buiding up the > amount of user allocated memory (returned by SYS(1016). I've declared all > the variables as local and am explicitly releasing them each time after the > routine runs. Dos VFP not free up memory when running SQL queries or > something like that ? > > I've tried stepping through the code and watching the sys(1016) value on > each line but it tends to vary wildly. > > I'me aslo using the sys(3050) function to set the size of the buffer that > VFP uses but I'm not at all clear what it actually does. Yes VFP, and FP before it, release the memory used by variables when they go out of scope.
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Previous
Reply
Map
View

Click here to load this message in the networking platform