Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Server Instancing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
OLE Server Instancing
Divers
Thread ID:
00094651
Message ID:
00094651
Vues:
48
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform