Just thought I'd throw a comment in across all the "memory leak"
discussions.

Most current versions of RedDot are made up of the following components:

.         ASP.NET application

.         ASP application (with COM components)

.         COM+ components

.         .Net Windows Services (with 'remoting' interfaces)

 

It's vital to distinguish here between memory use and a memory leak.

 

You wouldn't restart a service just because it was using a lot of memory
unless other parts of the system were running out.

.Net Garbage Collection frees memory when it is demanded by the system and
it continuously monitors application performance to set its thresholds.  The
COM parts mostly originate in VB (surprised?) and these generally have very
good memory management semantics built in.  So if free memory is running low
it's probably the .Net parts that are responsible.

 

Actually, you WANT your apps to consume all of the memory on a server - let
.Net and Windows balance out the memory management based on demand and you
will get the best performance.  That's what memory is for after all.  The
.Net services perform better when things go into cache - that's why the
memory grows - but if Windows starts to run out of resources .Net will
forcibly remove elements from .net caching objects to recover memory.

 

Same with ASP.NET w3wp processes - don't restart/recycle unnecessarily.
Respond to error conditions or poor performance, of course, but don't just
assume your server will run better with 50% of its RAM free.  You're
probably doing more harm than good restarting the services daily or weekly.

 

Per Markus' original comment - if something is crashing with an "out of
memory" error for sure there's a memory problem to diagnose.  If it's just
that you've 'noticed that a lot of memory is allocated to RedDot processes'
then I would argue most of the time that's exactly what you want.

 

Rgds,

Richard Hauer.

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to