Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / June 2004

Tip: Looking for answers? Try searching our database.

Are the Singleton objects ever collected

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Igor Anic - 30 Jun 2004 17:05 GMT
I'm using .Net remoting singleton object in both console application and
windows service application.

Lease time is set to 10 minutes with renew on call time to also 10 minutes,
and that works fine after 10minutes of client inactivity I get new object on
next request.

But the problem is that the previous object is newer collected. According to
my investigation he stays in memory for the life of the application. The
problem is with my windows service in which after few days of running I got
Out of memory exception. I'm pretty sure that the problem is with newer
collected remoting objects.

Does anyone has similar problem?

How can I see the moment when that object is collected?

Thanks,

Igor.
Ken Kolda - 30 Jun 2004 17:30 GMT
Don't know if this is your issue, but check out:

http://www.genuinechannels.com/Content.aspx?id=88&type=1

Ken

> I'm using .Net remoting singleton object in both console application and
> windows service application.
[quoted text clipped - 16 lines]
>
> Igor.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.