Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Server Instancing
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
OLE Server Instancing
Miscellaneous
Thread ID:
00094651
Message ID:
00094651
Views:
47
We have built an VFP OLE Server that takes internet browser requests via foxisapi.dll and returns HTML forms to the browser. The Server is configured to be multi-use and a Startup method of the public class in the VFP Server keeps the first instance of the server alive in memory and does not care about subsequent instances. The way it keeps the first instance in memory is by assigning a value of 0 to the dispatcher parameter received from the DLL. We are assuming that by taking no action on subsequent instances they are killed automaticaly by the DLL since we are not changing the value of the dispatcher parameter. This works fine and the performance is excellent. However we noticed that the process of the OLE Server in memory keeps growing larger by roughly 200K after each instance.

How do we stop subsequent instances from using more memory?
Next
Reply
Map
View

Click here to load this message in the networking platform