I have a VB.NET project using an AIML interpreter dll (written in C#, full source available) in a project of mine: [login to view URL] the problem i am having is that after sometime with a decent amount of requests, memory starts to leak & is never released to the point that my computer will run out of VM here is a screenshot of the mem profiler where you can see how many live instances there are here related to this dll (memory grew from about 50mb to 150mb at this point). [login to view URL] i don't know what i'm doing wrong, but i cannot get this memory to release - is it my code (below) or the dll? if it is my code, i need help to use it right... if it is the dll then i need it to be repaired (object class) Imports AIMLbot Public Class ProgramNET Private WithEvents myBot As [login to view URL] Private myUser As [login to view URL] Private bSettingsLoaded As Boolean = False Public Sub New() myBot = New [login to view URL] myUser = New [login to view URL]("user", myBot) [login to view URL]() [login to view URL] = False [login to view URL]() [login to view URL] = True End Sub Public Function Request(ByVal sUser As String, ByVal sMessage As String) As String Dim myRes As String = [login to view URL] Dim myReq As [login to view URL] If myUser Is Nothing Then myUser = New [login to view URL]("user", myBot) End If myReq = New [login to view URL](sMessage, myUser, myBot) myRes = [login to view URL](myReq).ToString myReq = Nothing Return myRes End Function End Class ----- (in a public module) Private alice As New ProgramNET Public Function AliceRequest(ByVal sMsg As String) As String Dim sTmp As String = [login to view URL] Try If alice Is Nothing Then [login to view URL]("alice object is nothing") Else sTmp = [login to view URL]("user", sMsg) End If Catch ex As Exception [login to view URL]("AliceRequest Error: " & [login to view URL]) End Try Return sTmp End Function
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
.NET