Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding Memmory Leak ??
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00081738
Message ID:
00081978
Views:
19
>When you say an error, how did you do this and what did you do to regain your memmory? Did you force the release of any variables or clear any object before returning?
>
>We are interested in any suggestions you can give us.
>
>Thanks for your help.

*Force error to flush memory

on error do error1 with error(), lineno(), program()
assinine &&Causes error
on error

*Procedure to capture error

* * * * * * * * * * * * * * P R O C E D U R E * * * * * * * * * * * * * *
procedure Error1

parameter ErrNumber, ErrLine, ProgName

If ErrNumber = 16
wait window [Flushing memory] nowait
endif

return

*When compiling you will get the error message below. Since you created the *error, you know about it and can ignore this error message.

Compiling c:\data\dbase\goldquote 1.4\gm_lookup.scx
assinine
Error in line 32 of GM_LOOKUP.Activate (record 3): Unrecognized command verb.

This one worked for me.

DJ :0)
Previous
Reply
Map
View

Click here to load this message in the networking platform