Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with build up of system memory usage
Message
From
21/11/2002 10:08:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Problem with build up of system memory usage
Miscellaneous
Thread ID:
00725185
Message ID:
00725185
Views:
25
I have a process which runs continuously which uses WinSock listening for TCP/IP messages and then responds - it does this about once every 8 seconds during the day.
The problem is that although all my variables are local - on the customer site there is a slow and steady build up of system memory usage over time which eventually results in a system crash. I can't use CLEAR ALL at the end of each response as this destroys the WinSock OLE object. I can't create the object as a class and simply add it back after clearing it as I lose the connection with the server sending the messages.

So I was wondering if anybody knows a way of somehow flushing any extra memory usage from VFP? I can't reproduce the problem in testing in normal running circumstances but I can by getting the WinSock control to send thousands of messages in a continuous loop. This has the same effect.

Any ideas would be welcome!

Neil Shumsky
Next
Reply
Map
View

Click here to load this message in the networking platform