Hi
We work on VEE9 on XP and VEE9.31 on W7. We need to import many different library, user function from Vee file.
After many deleted and import library we saw the allocated memory increased and
finshed to overload the memory. Only closed the vee program clear the memory allocation.
The action of deleted an imported lib did not propely clear the memory. Why ???
This subjectt have ever posted since 8 years ( Lib import Memory leak) but ...
vrf Library Import "Memory Leak"
Somebody have any solution with .net system function or other
Thank you by advance for you help
Olivier Tallec
Product Engineer - Microcontrollers -Analog Characterization / Atmel Corporation
Tel: (+33) (2) 4018-1939 / Fax: (+33) (2) 4018-1626 / Lab: (+33) (2) 4018-1524
olivier.tallec@atmel.com / http://www.atmel.com/
Looking at the names on the link you provided ( to earlier thread ) I would assert this is still a bug - well worth posting your findings as such.
As to a solution - I'd probably go along the lines of a client/server pair ( I'm sure I could dig up a simple example if you need one ). Client is run to start with and has the user interface with controls and indications. Client runs the server ( as a different process ) which does the work taking commands and passing back data when directed. Client only starts the server if it is not already running and will (re-)start it if it does not respond.
Obviously there is a bit more work to set it up but there are several benefits such as:
you can close and re-run the server if it becomes unresponsive or - as in your case - needs to release memory
operator interaction with the UI does not pausethe server process running ( a 'feature' of VEE )
a crash of the UI ( surely not? ) does not stop the server and a crash of the server is automatically re-started
HTH,
Mike Watts