PDA

View Full Version : Prevent Services from being download to swap file


Charlie
November 16th 06, 03:21 PM
We have developed a couple of services which performance seems to degrade
after some time they are not used. We have set them to high priority and the
OS (XP Pro) is set to give priority to services instead of programs.

Our hypothesis is that Windows is downloading the service to the disk due
to memory restrictions in size.

If this is correct, Is there any way to prevent windows from doing this, for
example by including these services in an exclusion list of services not to
download from RAM?
Thanks in advance,

Charles Bas

Niniel
November 16th 06, 03:38 PM
I don't think you can do that... the page file is treated as RAM, and is even
used when your physical memory isn't 100 % utilized.
Having said that, adding more real RAM might help since in general that
reduces the need to swap out memory pages, but then again, it may not.
Maybe there's just a bug in your program that causes it to gobble up memory
as time goes on?

"Charlie" wrote:

> We have developed a couple of services which performance seems to degrade
> after some time they are not used. We have set them to high priority and the
> OS (XP Pro) is set to give priority to services instead of programs.
>
> Our hypothesis is that Windows is downloading the service to the disk due
> to memory restrictions in size.
>
> If this is correct, Is there any way to prevent windows from doing this, for
> example by including these services in an exclusion list of services not to
> download from RAM?
> Thanks in advance,
>
> Charles Bas

Patrick Keenan
November 16th 06, 05:08 PM
"Charlie" > wrote in message
...
> We have developed a couple of services which performance seems to degrade
> after some time they are not used. We have set them to high priority and
> the
> OS (XP Pro) is set to give priority to services instead of programs.
>
> Our hypothesis is that Windows is downloading the service to the disk due
> to memory restrictions in size.
>
> If this is correct, Is there any way to prevent windows from doing this,
> for
> example by including these services in an exclusion list of services not
> to
> download from RAM?
> Thanks in advance,
>
> Charles Bas

You'd probably be best asking this question in developer or MSDN groups
rather than end-user support groups. As far as I can see, there are very
few MS employees or MS developers who post here.

HTH
-pk

Charlie
November 18th 06, 03:05 PM
ok, I'll do that.
Thanks.

"Patrick Keenan" wrote:

> "Charlie" > wrote in message
> ...
> > We have developed a couple of services which performance seems to degrade
> > after some time they are not used. We have set them to high priority and
> > the
> > OS (XP Pro) is set to give priority to services instead of programs.
> >
> > Our hypothesis is that Windows is downloading the service to the disk due
> > to memory restrictions in size.
> >
> > If this is correct, Is there any way to prevent windows from doing this,
> > for
> > example by including these services in an exclusion list of services not
> > to
> > download from RAM?
> > Thanks in advance,
> >
> > Charles Bas
>
> You'd probably be best asking this question in developer or MSDN groups
> rather than end-user support groups. As far as I can see, there are very
> few MS employees or MS developers who post here.
>
> HTH
> -pk
>
>
>

Google