RAM Disk for Virtual Memory

UaVaj

Golden Member
Nov 16, 2012
1,546
0
76
hate virtual memory with a passion. it is slow and pathetic. okay with that said and done.


there are some programs out there (like photoshop and bf4) that demands virtual memory. since there is no way around this pathetic ness. is there? anyway thinking of making a ram drive. and then put the page file on the ram drive.


64gb of physical memory. 24gb allocated for usage. and 36gb allocated for ram drive for page file.
 

TheELF

Diamond Member
Dec 22, 2012
4,026
753
126
ASRock's A-tuning suite has this for page as well as temp files,probably other mobo's have similar tools,I only have asrock so it's the only one I know about.

You can also use a ramdisk tool and set it up by yourself,starwind's ramdisk is free and quite good.
 

techne

Member
May 5, 2016
144
16
41
IMHO, to use a RAM disk is always an excellent idea. I use a NTFS compressed 6GB RAM disk (from SoftPerfect) in which are written all my TEMP files, browser cache and some general use.

It's OK to hate virtual memory, and I hate it too. Hence, I maintain my virtual memory within these limits: 200MB (initial size) and 1GB (maximum). You may want to play with the maximum value; I have successfully used 800MB in the past.

But to put the page file in the RAM drive is not a good idea. My advice is: set a strict limit for the virtual memory and forget it for good.
 

Elixer

Lifer
May 7, 2002
10,371
762
126
hate virtual memory with a passion. it is slow and pathetic. okay with that said and done.


there are some programs out there (like photoshop and bf4) that demands virtual memory. since there is no way around this pathetic ness. is there? anyway thinking of making a ram drive. and then put the page file on the ram drive.


64gb of physical memory. 24gb allocated for usage. and 36gb allocated for ram drive for page file.
Put the pagefile on a SSD if you want, it won't get hit that much if you have 64GB of RAM.
Allocating 36GB of RAM for a page file is insane, and totally unnecessary.
 

TheELF

Diamond Member
Dec 22, 2012
4,026
753
126
Put the pagefile on a SSD if you want, it won't get hit that much if you have 64GB of RAM.
Allocating 36GB of RAM for a page file is insane, and totally unnecessary.
He mentioned Photoshop so maybe not that insane,it's worth a try he can test it out and if it's not worth it he can revert back.

(my guess is he already has the mem due to PS)
 

Elixer

Lifer
May 7, 2002
10,371
762
126
He mentioned Photoshop so maybe not that insane,it's worth a try he can test it out and if it's not worth it he can revert back.

(my guess is he already has the mem due to PS)
No, It IS insane, why the heck would you allocate that much memory to a page file instead of allocating all that memory to Photoshop itself?
The way Photoshop works is, it will use up to 70% of your system RAM (you can configure this to use more if you want), and if it runs out of RAM, it will *then* hit the page file.
What the OP is suggesting is, using 24GB of RAM for the program, and when it runs out of that 24GB, it hits the page file which is on a RAM drive.
Step back and think about it.
You want Photoshop to use up to 64GB of RAM, and not hit the page file *at all*.
 

techne

Member
May 5, 2016
144
16
41
He mentioned Photoshop so maybe not that insane,it's worth a try he can test it out and if it's not worth it he can revert back.
(my guess is he already has the mem due to PS)
Photoshop lets the user to set how much of the available RAM the program will use (by default, 70%).
 

UaVaj

Golden Member
Nov 16, 2012
1,546
0
76
by default. photoshop and bf4 and other programs are too stupid to fully utilize all available physical memory. and insists on paging to no ends. those instances where it has to page from the ssd is getting old quick.

thanks for sharing that photoshop does allow user to allocate physical memory. will tinker with photoshop's custom settings.

what about bf4 and other programs? example bf4 will use ~6gb of physical memory and page ~23gb to ssd. leaving ~58gb of physical memory idling.
 

techne

Member
May 5, 2016
144
16
41
by default. photoshop and bf4 and other programs are too stupid to fully utilize all available physical memory. and insists on paging to no ends. those instances where it has to page from the ssd is getting old quick.

thanks for sharing that photoshop does allow user to allocate physical memory. will tinker with photoshop's custom settings.
You'll find them at: Edit > Preferences > Performance

Think again: would you like to use a program that takes all available RAM to itself in a multitasking environment?

what about bf4 and other programs? example bf4 will use ~6gb of physical memory and page ~23gb to ssd. leaving ~58gb of physical memory idling.
I don't know what "BF4" stands for (if not the game), but that doesn't matter: if the program behaves so blatantly bad, you don't want to use it, do you?
 
Reactions: nopainnogain

Elixer

Lifer
May 7, 2002
10,371
762
126
what about bf4 and other programs? example bf4 will use ~6gb of physical memory and page ~23gb to ssd. leaving ~58gb of physical memory idling.
If you are talking about Battlefield 4, then that shouldn't be the case. The program itself will use all available RAM it needs, and it will not hit the pagefile unless necessary for small, trivial things.
I know of quite a few people with 32GB of RAM and the game hardly ever touches the pagefile at all.

Now, if you are seeing pagefile usage of that much, something else is going on, sounds like a leak of some type.
As for programs that are incorrectly using RAM, then, I agree with Techne, don't use sloppy programs.
 
Reactions: nopainnogain
Feb 25, 2011
16,900
1,550
126
Setting up a ramdisk for photoshop was a thing back when Photoshop was only available as a 32-bit application, and couldn't address anything past 4GB of RAM.

That's not a thing anymore.
 

UaVaj

Golden Member
Nov 16, 2012
1,546
0
76
there is no memory leak. battlefield 4 just loves virtual memory.

btw. this machine with 64gb of physical memory does sports quad gpu (290x x4) on triple monitor (7680x1600). if resolution has anything to do with this excessive virtual memory usage.

just for contrast. on another machine with 16gb of physical memory that sports single 280x on a single 1920x1080. bf4 will use ~4gb of physical memory and page ~7gb to ssd. leaving ~12gb of physical memory idling.
 

UaVaj

Golden Member
Nov 16, 2012
1,546
0
76
this issue has to do with how windows (and it's program developers) manages memory. they all write programs to "utilize" as little physical memory as possible, while "storing" everything else in virtual memory on turtle media.

only way to alleviate this lag is to force virtual memory into physical memory. since windows/programs demands a "disk" for virtual memory. will give window a ram disk.
 

Concerned Citizen

Senior member
Sep 30, 2016
213
3
16
Primocache,baby.Buy it;even
I do not work for them.But it works.
I even have a 180 day trial somewhere.
I wipe my comp more often than 180 days.
 

techne

Member
May 5, 2016
144
16
41
To put the virtual memory in RAM is not a good idea, but almost every rule does have an exception. Go for it.

I'm about to play BF4, but knowing what I know now, I'll kill those bastards as fast as I can.
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
So a particular program (Photoshop or whatever) uses all your memory and needs to create a virtual memory swap file.

Hmm. I know! Let's place the swap file in real memory, so the program has less real memory available to use, less memory means the program needs to move more data to the swap file, and the swap file now occupies REAL memory.

BRILLIANT!

 

Concerned Citizen

Senior member
Sep 30, 2016
213
3
16
So a particular program (Photoshop or whatever) uses all your memory and needs to create a virtual memory swap file.

Hmm. I know! Let's place the swap file in real memory, so the program has less real memory available to use, less memory means the program needs to move more data to the swap file, and the swap file now occupies REAL memory.

BRILLIANT!

Solution:Have more memory!
Seriously though;If you're reading things off the hard drive (SSD?) with a 2-3gb ramcache.It goes much,much better
Almost like having a dedicated RAM card that costs $1k n stuff.
 

Shmee

Memory & Storage, Graphics Cards Mod Elite Member
Super Moderator
Sep 13, 2008
7,711
2,691
146
UaVaj are you using mantle or DX11? Mantle may have some issues/memory leaks still, in BF4 with certain configurations.
 

mxnerd

Diamond Member
Jul 6, 2007
6,799
1,101
126
64gb of physical memory. 24gb allocated for usage. and 36gb allocated for ram drive for page file.

Page file is just a disk area allocated after system bootup, acts as virtual memory in case system needs more memory than your system has.

IF system needs more memory than your physical memory (64GB in your case), then system will swap less used programs into page file to prevent a system crash but system will become very slow. Until then, it's NOT USED at all!

If you are only running Photoshop & playing games, there is no way you use more than 64GB.

Right now you allocated 24GB to the whole system & 32GB to RAM disk as page file? You just cut system memory to less than half of what you have.

Just uninstall your RAM disk and let the system handle the memory itself. You are doing everything wrong!

In case you do need more than 64GB, buy a SSD and put the page file on it.
 
Last edited:

UaVaj

Golden Member
Nov 16, 2012
1,546
0
76
geesh. this is starting to sound like another vram discussion. where is the head banging on the wall smilies when u need it.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |