Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing memory from dllHost
Message
 
To
23/05/2003 11:50:21
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00792271
Message ID:
00792341
Views:
33
This might be normal but should be released after a while. Same thing happens with West-Wind. You might want to download ActiveVFP(http://www.activevfp.com ) and try your test out with it since it's somewhat optimized and the same environment...
>I am finding that when a VFP dll (compiled in VFP 7) is instantiated from within an ASP Page (ASP v5.00 on Win2000 w IIS 5), each time the page is refreshed, there is a significant increase in the amount of Memory Usage.
>
>The ASP page is as follows:
>
><%@ Language=VBScript
>
><%Response.Buffer = True
>
>Response.AddHeader "pragma", "no-cache"
>Response.AddHeader "cache-control", "no-store"
>
>Dim strReferer, strPage
>
>strReferer = Request.ServerVariables("HTTP_REFERER")
>strPage = Request.ServerVariables("QUERY_STRING")
>Set loServer = Server.CreateObject("TMS.TMS_Main")
>Session.Value("LOGIN") = "TRUE"
>
>loServer.Process()
>Set loServer = Nothing
>
>
>Even when creating a very simple dll that does nothing, the memory usage increases at a smaller rate.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform