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 / ASP.NET / Web Services / August 2005

Tip: Looking for answers? Try searching our database.

(Pseudo)Web Garden for WebService

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Massimo Gentilini - 18 Aug 2005 17:51 GMT
I have a web service that, also when hosted in its own application pool,
often grows in memory due to the kind of request made (they involves heavy
XML manipulation and caching of large data) and when it reaches 1.1 Gb gives
out of memory errors. All my investigation has only mitigated the problem so
(beside changing the chaching policies) I would like to try something
different.

The idea is to split the web service on different w3wp.exe and direct the
requests on different exes, to allow the application servers to have a
number of processes running.

Question is: is there a way to programmatically create different w3wp.exe
and different web services on different ports when needed or do I need to
manually create them and create a web service that services the request
calling the internals web services? First solution would be very useful
because it does not imply server configuration...

Regards
Massimo
Robert Livermore - 19 Aug 2005 14:32 GMT
Consider Using Weak References with Cached Data. This will use the frameworks
garbage collection to remove infrequently uses items from cache. There is
sample implemtation in the MSDN libray.

http://msdn.microsoft.com/library/en-us/dnpag/html/scalenetchapt05.asp
Signature

Robert Livermore B.Sc. MCSE+I MCSD MCDBA

Cetaris  
www.cetaris.com

> I have a web service that, also when hosted in its own application pool,
> often grows in memory due to the kind of request made (they involves heavy
[quoted text clipped - 15 lines]
> Regards
> Massimo
Massimo Gentilini - 22 Aug 2005 17:27 GMT
> Consider Using Weak References with Cached Data. This will use the
> frameworks
> garbage collection to remove infrequently uses items from cache. There is
> sample implemtation in the MSDN libray.
>
> http://msdn.microsoft.com/library/en-us/dnpag/html/scalenetchapt05.asp

Thank you, I'm investigating this road.

Regards
Massimo

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.