Hi,

Do you need to pass MarshalByRefObject instances? What services (methods)
does an IWorkflow instance provide? Can't you hand out serializable/byval
objects? Please, give us some more background...

Cheers,
Stoyan

-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Pauline Wong
Sent: Friday, March 12, 2004 22:01
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] How to release the memory from a MarshbyRefObject
object?

Hi,

 I am trying to find out how to release the memory from a
MarshByRefObject object.
 My c# application is window service.  It gets call from another
window service or remote window clients.
 In the EnumerateWorkflows method, I returns the arraylist of
IWorkflow which is MarshByRefObject.
 If the client invoke 1000 EnumerateWorkflows calls, my window
service memory will grow very large.
 Any suggestions as how my service can release some of the memory?

 THanks,

 Pauline

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to