Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory leaks / API-calls
Message
From
07/03/2018 01:20:59
 
 
To
07/03/2018 01:03:58
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Application:
Desktop
Miscellaneous
Thread ID:
01658554
Message ID:
01658588
Views:
103
>do not forget that vfp may allocate memory as well while your program is running , eg for variables

Sure.

The tests are not run in situ within a large applcations but as standalone test routines. I'll implement this putfile replacement very carefully when we have confirmation that it is rock-solid.

I just made a last manual test. Running a very plain test - 2 000 calls of the dialogbox - the memory use moves from around 3.5 MB, plain vfp interactive session with zero addition, to nearly 50MB. The only way to clear the memory use "Quit".... Well 2 000 "save as..." action call is not your standard user activity:-)

Nice to get some understanding on the way VFP handles its memory assignements vs OS-supported memory allocation. I understand that there might be some difficulty here.

Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform