Posted: Sun Mar 04, 2007 1:13 pm Post subject: System Hangs when creating object in C#
Novice
Joined: 06 Nov 2006 Posts: 17
I am using Visual Studio 2003 and MQ WebSphere with Fixpack #13.
I have written a class called MQAPI that instantiates the objects I need to work with the calls to MQ (e.g. mqQueue.Put(mqMsg, mqPutMsgOpts) ).
My Windows application creates a MQAPI Object, then makes calls to the methods. Everything works fine. I send an XML string to MQ and I get the proper XML response from the MQ Client.
The problem is that when I cause my Windows Application to recreate the MQAPI Object, the application eventually hangs. I do not think that this is a MQ problem, but I thought you may have some ideas on why it is occuring. I do not believe I am running out of memory (DOT.NET uses automatic Garbage Collection to manage memory - and the MQAPI object should be reclaimed each time).
The reason for this test is that my MQAPI Assembly will be used by ASP.NET pages which may create the MQAPI Object many times in several different pages.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum