Re: Disk thrashing with paging file

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks. I'll trying reconfiguring the page file. Unfortunately adding
memory is out of the question due to the number of machines affected.

"Marc Reinig" <Marco@xxxxxxxxxxxxxxxxx> wrote in message
news:u14IoZfqGHA.4032@xxxxxxxxxxxxxxxxxxxxxxx
You might try using a fixed sized paging file set the maximum allowed
instead of letting Windows manage it. This should keep all the paging
file in a fixed location so it is not scattered all over the disk. Also,
as Mark Yudkin says, add memory. 256 MB is truly marginal.

--
Marco
________________________
Marc Reinig
UCO/Lick Observatory
Laboratory for Adaptive Optics

"Chris" <chrisx@xxxxxxxxxx> wrote in message
news:OXavwDzpGHA.4268@xxxxxxxxxxxxxxxxxxxxxxx
I have the following problem with the paging file on Win 2000 workstations
(256 MB / SP3 / Single physical disk) running our custom user interface
app
(VB6) and SQL Server. During periods of user inactivity Windows pages
out memory and, when the user starts using the app again, there's a long
period
of disk thrashing while memory is paged back in. Analysis has indicated
that neither our apps or SQL Server is doing anything at the time to
trigger or inhibit
the thrashing. (However alot of this problem is due to the fact that our
user interface app holds lots of data in memory. The app uses a further
50 VB6 COM DLLs.)

Apart from the obvious (Reducing memory usage of our apps / Using
recommended page file size & optimising for foreground apps / Optimising
SQL Server / Disabling un-needed O/S components / Reducing disk access /
Upgarding hardware) is there anything that can be done to shorten the
disk thrashing period? Will using SetProcessWorkingSetSize or
VirtualLock APIs make a difference?





.



Relevant Pages

  • Re: How to set up a Linux machine that occupies the minimum memory footprint ?
    ... Of course, if you use 8GB of RAM, or more precisely if you ... Are you saying that if I have a 4GB RAM memory, ... Linux will somehow "know" that it doesn't have ... You've said in another message that your app is ...
    (comp.os.linux.setup)
  • Re: How to set up a Linux machine that occupies the minimum memory footprint ?
    ... Of course, if you use 8GB of RAM, or more precisely if you ... Are you saying that if I have a 4GB RAM memory, ... Linux will somehow "know" that it doesn't have ... You've said in another message that your app is ...
    (comp.os.linux.misc)
  • Re: Disk thrashing with paging file
    ... You might try using a fixed sized paging file set the maximum allowed ... instead of letting Windows manage it. ... Yudkin says, add memory. ... user interface app holds lots of data in memory. ...
    (microsoft.public.vb.winapi)
  • Re: need a thumbnail browser without memory limitations
    ... When you are working with media files, you need to decide how you are going to limit the memory requirements of your app. ... For display pictures, you can take approaches that limit the memory requirements such as minimal caching. ... lets say you need to load the next 10 thumbnails as the user scrolls. ...
    (microsoft.public.vb.general.discussion)
  • Re: Large text file - in memory ( > 60mb)
    ... The file is over 64mb in size, reading it line by line to do a search ... while running the app, it would mean reading/searching the>64mb file many ... Then I have to show this record found (wich ... maybe creating a datatable to ease the search but I'm pretty sure memory ...
    (microsoft.public.dotnet.framework)