Thread: Re: [Quickfix-users] .NET Can not open body file ... unreleased resources
Brought to you by:
orenmnero
From: Alex <al...@ec...> - 2006-09-04 22:50:43
|
Oren, months ago Francis Gingras send you a project demonstrating a release resource problem in QuickFix. Have you seen what's causing this? Alex -----Original Message----- Greg, This is what I use and it works fine with .NET 1.1 but with 2.0 you'll need the latest sources from CVS. socket.stop(); socket = null; GC.Collect(); GC.WaitForPendingFinalizers(); Francis -----Original Message----- From: Greg Chase [mailto:greg@...] Sent: Saturday, May 06, 2006 14:14 To: Francis Gingras Cc: quickfix-users@... Subject: Re: [Quickfix-users] Re: Re: .NET Can not open bpdy file ... unreleased resources I too am having trouble releasing resources. I'm using VS 2005, C# and .Net 2.0. How should one properly close down an initiator in .Net? The flow of my application is: -------------------------------------- settings = new SessionSettings(configFile); storeFactory = new FileStoreFactory(settings); logFactory = new FileLogFactory(settings); messageFactory = new DefaultMessageFactory(); initiator = new ThreadedSocketInitiator(this, storeFactory, settings, logFactory, messageFactory); ... initiator.start(); ... initiator.stop(); initiator = null; settings = null; storeFactory = null; logFactory = null; messageFactory = null; ---------------------------------------- At this point all of the four storage files are still locked (can't be opened in notepad). Forcing garbage collection doesn't help. Is anyone able to successfully release ThreadedSocketInitiator resources in .Net? Greg On 5/2/06, Francis Gingras <francis@...> wrote: > > > Tom, > > Just so you know, I sent a project to Oren that demonstrates the problem. > > > Francis -- Gregory Chase Managing Partner Chase Capital Management, LLC -- Alex Araujo Banif Banco de Investimento |
From: Oren M. <or...@qu...> - 2006-09-05 13:07:09
|
This was fixed a long time ago. What version of QuickFIX are you using? --oren > Oren, months ago Francis Gingras send you a project demonstrating a > release resource problem in QuickFix. Have you seen what's causing > this? |
From: Alex <al...@ec...> - 2006-09-05 13:54:44
|
The latest: 1.12.2. -- Alex Araujo Banif Banco de Investimento -----Mensagem original----- De: Oren Miller [mailto:or...@qu...] Enviada em: Tuesday, September 05, 2006 10:07 AM Para: Alex Cc: qui...@li...; qui...@li... Assunto: Re: [Quickfix-users] .NET Can not open body file ... unreleased resources This was fixed a long time ago. What version of QuickFIX are you using? --oren > Oren, months ago Francis Gingras send you a project demonstrating a > release resource problem in QuickFix. Have you seen what's causing > this? |
From: Alex <al...@ec...> - 2006-09-05 20:25:07
|
OK, probably the error was reintroduced by some other change. You remember what you have done to correct this problem? -- Banif Banco de Investimento Av. Presidente Juscelino Kubitschek n=BA 1.700 - 15=BA andar - S=E3o = Paulo, SP - CEP 04552-080 Tel.: (55) (11) 3074-8046 - Fax: (55) (11) 3074-8140 Email: al...@ec... =20 -----Mensagem original----- De: Oren Miller [mailto:or...@qu...]=20 Enviada em: Tuesday, September 05, 2006 10:07 AM Para: Alex Cc: qui...@li...; qui...@li... Assunto: Re: [Quickfix-users] .NET Can not open body file ... unreleased resources This was fixed a long time ago. What version of QuickFIX are you using? --oren > Oren, months ago Francis Gingras send you a project demonstrating a=20 > release resource problem in QuickFix. Have you seen what's causing=20 > this? |
From: Alex <al...@ec...> - 2006-09-11 14:40:20
|
Oren, You remember what you have done to correct this problem? -- Alex Araujo Banif Banco de Investimento -----Mensagem original----- De: Oren Miller [mailto:or...@qu...] Enviada em: Tuesday, September 05, 2006 10:07 AM Para: Alex Cc: qui...@li...; qui...@li... Assunto: Re: [Quickfix-users] .NET Can not open body file ... unreleased resources This was fixed a long time ago. What version of QuickFIX are you using? --oren > Oren, months ago Francis Gingras send you a project demonstrating a > release resource problem in QuickFix. Have you seen what's causing > this? |
From: Naveed <na...@nc...> - 2007-07-03 13:59:53
|
Hello Oren, I am using QuickFix version 1.12.4 untill and unless I close the application the Body file is remain in use, instead of stopping the initiator using initiator.stop(); Oren, You remember what you have done to correct this problem? -- Alex Araujo Banif Banco de Investimento -----Mensagem original----- De: Oren Miller [mailto:or...@qu...] Enviada em: Tuesday, September 05, 2006 10:07 AM Para: Alex Cc: qui...@li...; qui...@li... Assunto: Re: [Quickfix-users] .NET Can not open body file ... unreleased resources This was fixed a long time ago. What version of QuickFIX are you using? --oren > Oren, months ago Francis Gingras send you a project demonstrating a > release resource problem in QuickFix. Have you seen what's causing > this? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Quickfix-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-users -- View this message in context: http://www.nabble.com/Re%3A-.NET-Can-not-open-body-file-...-unreleased-resources-tf2218794.html#a11412711 Sent from the QuickFIX - User mailing list archive at Nabble.com. |