PC Review


Reply
Thread Tools Rate Thread

How can I force an app to be completely hold in physical memory ?

 
 
Jason Stacy
Guest
Posts: n/a
 
      5th Feb 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.

 
Reply With Quote
 
 
 
 
singletracker@gmail.com
Guest
Posts: n/a
 
      5th Feb 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:
> 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.


 
Reply With Quote
 
JohnO
Guest
Posts: n/a
 
      5th Feb 2008
> Or - alternatively - how can I force WinXP to use memory as much as
> possible ?


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


 
Reply With Quote
 
Mike S.
Guest
Posts: n/a
 
      5th Feb 2008

In article <47a8b4c3$0$25386$(E-Mail Removed)>,
Jason Stacy <(E-Mail Removed)> wrote:
>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 ?


Disable the page file from the Control Panel (system, performance, virtual
memory).


 
Reply With Quote
 
Bill in Co.
Guest
Posts: n/a
 
      5th Feb 2008
Mike S. wrote:
> In article <47a8b4c3$0$25386$(E-Mail Removed)>,
> Jason Stacy <(E-Mail Removed)> wrote:
>> 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
>> ?

>
> Disable the page file from the Control Panel (system, performance, virtual
> memory).


But if he does that, what happens if an app needs more memory? A system
crash?


 
Reply With Quote
 
Arno Wagner
Guest
Posts: n/a
 
      5th Feb 2008
In comp.sys.ibm.pc.hardware.storage Jason Stacy <(E-Mail Removed)> wrote:
> 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 ?


You cannot. The decision is done by the OS.

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


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

 
Reply With Quote
 
Bruce Chambers
Guest
Posts: n/a
 
      6th Feb 2008
Jason Stacy wrote:
> 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 ?
>


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
 
Reply With Quote
 
Andrew E.
Guest
Posts: n/a
 
      6th Feb 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:

> 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.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Vista 64 Installed Physical Memory vs Total Physical Memory Poutnik Windows Vista General Discussion 1 2nd Apr 2009 11:27 AM
How can I force an app to be completely hold in physical memory ? Jason Stacy Windows XP Hardware 1 6th Feb 2008 05:42 AM
How can I force an app to be completely hold in physical memory ? Jason Stacy Storage Devices 0 5th Feb 2008 07:10 PM
Force ppt presentation to load completely in memory before showing =?Utf-8?B?TGl4ZW4=?= Microsoft Powerpoint 0 23rd Mar 2006 03:39 PM
force physical memory dump without rebooting =?Utf-8?B?am9qbw==?= Microsoft Windows 2000 Security 4 2nd Dec 2005 05:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:19 PM.