By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,766 Members | 1,295 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,766 IT Pros & Developers. It's quick & easy.

Releasing resources on the server

P: n/a
I am using .NET Remoting for interaction between client/host. When my app.
starts the aspnet_wp process goes from approx. 3mb to ~20mb. Each round-trip
to the server adds anything from 6kb to 2.5mb to this process. The trouble
is that when the client closes down IE (ie. 'closes' the client app), the
resources are not released. This means that over time and with multiple
clients, the server will 'fall over' pretty quickly.

I am new to this stuff so if someone could tell me the proper way to release
resources i'd appreciate it.

The building blocks are:-

Client Web App (resides on client):
Web.config used to specifying remoting client
aspx as UI with databound controls. Calls methods of remote class

Remoting Class (resides on server):
Default constructor instantiates sqlconnection to dB on server
Single method to return dataset to client

Host Web App (resides on server)
No UI.
Web.config used to specify remoting server

That's about it

Thanks in advance of any guidance.

Phil
Jul 23 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.