Tech Support > Microsoft Windows > Help and Support > How can I force an app to be completely hold in physical memory ?
How can I force an app to be completely hold in physical memory ?
Posted by Jason Stacy on February 5th, 2008


I upgraded the physical memory of my notebook from 1 GB to 2 GB.
Now there should be enough memory to hold certain apps completely in physical memory.
Unfortunately I have to notice that 60% of the physical memory is still available.
Furthermore well known apps (like JBoss app server, graphic edit programs, programming IDEs,...)
are as slow as ever - always accompanied with lots of hard disc working (obvisously swapping in and out
space frames).

How can I force e.g. application mysample.exe (and its depending DLLs) in physical memory ?

Or - alternatively - how can I force WinXP to use memory as much as possible ?

J.

Posted by singletracker@gmail.com on February 5th, 2008


You are seeing disk I/O issues. If you are not using a 7200 RPM HD
with a big cache like 8G you are going to see this. It might help if
you defrag your disk. Also it might be very simple just to buy one of
the newer, fast USB2 or firewire external drive and put your apps out
there - less competition with the system disk as well.

To force pages to remain wired in memory would need to be done at a
code level, not a configurable thing unless the app designer gives you
that kind of option.

Or you could search for "virtual hard drive" - there are commercial
products that allow you to place disk files on a hard drive that is
really resident in memory. Not sure you would have enough RAM to
solve your problem but perhaps. Also I'd be reluctant to use
something like this for data files unless you understand the write-
through delay issues (some may be configurable) and can live with
that. (a badly timed blue screen can severely corrupt data)

On Feb 5, 11:10*am, jjst...@yahoo.net (Jason Stacy) wrote:

Posted by JohnO on February 5th, 2008


Don't think that's possible. But, you can install critical apps on one of
these:
http://www.logicsupply.com/categories/flash_memory

Try searching for info on ramdrive.

-John O



Posted by Mike S. on February 5th, 2008



In article <47a8b4c3$0$25386$9b4e6d93@newsspool4.arcor-online.net>,
Jason Stacy <jjstacy@yahoo.net> wrote:
Disable the page file from the Control Panel (system, performance, virtual
memory).



Posted by Bill in Co. on February 5th, 2008


Mike S. wrote:
But if he does that, what happens if an app needs more memory? A system
crash?



Posted by Arno Wagner on February 5th, 2008


In comp.sys.ibm.pc.hardware.storage Jason Stacy <jjstacy@yahoo.net> wrote:
You cannot. The decision is done by the OS.

There are some tweaks possible, e.g. the buffer-cache settings.
You can tewak these so that less memory will be used for buffering.
If I remember correctly that would be the "desktop" setting.

There is also something else you can do: Create a RAM-disk and
put the swap file on it. I know this sounds completelty demented,
but due to historic reasons, it can actually help. I have no idea
how to do this automatically on Windows, though.

The third option would be to disable swapping completely or set
a very small swapfile. Linux, e.g., runs well without without
swap on a desktop system. No idea about Windows.

Arno


Posted by Bruce Chambers on February 6th, 2008


Jason Stacy wrote:
Contact the program's developer and ask them to rewrite the application
to suit your needs.




--

Bruce Chambers

Help us help you:
http://www.catb.org/~esr/faqs/smart-questions.html

http://support.microsoft.com/default.aspx/kb/555375

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. ~Benjamin Franklin

Many people would rather die than think; in fact, most do. ~Bertrand Russell

The philosopher has never killed any priests, whereas the priest has
killed a great many philosophers.
~ Denis Diderot

Posted by Andrew E. on February 6th, 2008


Some pcs run better with less ram....However to "fix" youre problem(s),
go to run,type:regedit In regedit,expand:HKEY_LOCAL_MACHINE,system,
currentcontrolset,sessionmgr,open memorymanagement.LocateisablePaging
Executive,L.click on it,go to edit,modify,change from 0 to 1,close out
regedit.

"Jason Stacy" wrote:


Similar Posts