Topic: Can I have virtual memory going on?  (Read 1482 times)

Can I have virtual memory going on?
« on: September 04, 2018, 04:48:51 AM »

hgdagon

  • Apprentice
  • *
  • Date Registered: Aug 2018
  • Posts: 5
Currently, Windows shows 0MB of virtual memory. Instead, I would like it to make a swapfile on the flash drive of at least 1GB. Any way I can do that?

Re: Can I have virtual memory going on?
« Reply #1 on: September 04, 2018, 08:33:46 AM »

was_JFX

  • Code Baker
  • Grand Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 1074
You can use swapadd to add a pagefile.

swapadd C:\pagefile.sys 1GB 1GB

Re: Can I have virtual memory going on?
« Reply #2 on: September 04, 2018, 11:28:33 AM »

hgdagon

  • Apprentice
  • *
  • Date Registered: Aug 2018
  • Posts: 5
You can use swapadd to add a pagefile.
Thanks a lot for the answer. I'll give this a try and comment back. My slight concern is that it looks like I would have to run the command during every boot.

Re: Can I have virtual memory going on?
« Reply #3 on: September 04, 2018, 01:42:29 PM »

was_JFX

  • Code Baker
  • Grand Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 1074
Yes, that right you need to do it after booting.

Re: Can I have virtual memory going on?
« Reply #4 on: September 04, 2018, 11:02:01 PM »

hgdagon

  • Apprentice
  • *
  • Date Registered: Aug 2018
  • Posts: 5
Sadly, this doesn't work. I added the command to autorun - it did nothing (Yes, I'm sure the autorun is being processed), I ran command manually - still nothing. Manually unticking "Autamtically manage..." and adding a pagefile requires restart, and it won't be saved. I need a build time solution. Any compatible plugins for that?

Re: Can I have virtual memory going on?
« Reply #5 on: September 05, 2018, 02:14:01 AM »

RoyM

  • Jr. Chef
  • **
  • Date Registered: Aug 2017
  • Posts: 80
for x64 olof's swapadd works great.

for x86, I must goto x:\windows\system32\SystemPropertiesAdvanced.exe/Settings/Advanced - Change/
Select Drive/ Select Custom Size / Set Initial, Set Max / Set / OK.
It may ask to overwrite existing pagefile.sys <-- select yes.
pagefile will now work with x86.

I would like to have pagefile available @x86 Win10pese upon boot.
So far it has eluded me, As it is on the backburner, I have plenty of workarounds to get desired result.
Happy Baking.
RoyM

Re: Can I have virtual memory going on?
« Reply #6 on: September 05, 2018, 02:35:36 AM »

hgdagon

  • Apprentice
  • *
  • Date Registered: Aug 2018
  • Posts: 5
for x64 olof's swapadd works great.
Hm... I used the x86 version. Does it not work in win7x86?

for x86, I must goto x:\windows\system32\SystemPropertiesAdvanced.exe/Settings/Advanced - Change/
Select Drive/ Select Custom Size / Set Initial, Set Max / Set / OK.
It may ask to overwrite existing pagefile.sys <-- select yes.
pagefile will now work with x86.

Um... No? That's what I described above, and it requires a restart, so it won't be saved. I've tried that before posting. :sad:

Re: Can I have virtual memory going on?
« Reply #7 on: September 07, 2018, 04:53:36 PM »

hgdagon

  • Apprentice
  • *
  • Date Registered: Aug 2018
  • Posts: 5
I forgot to mention that the error code I'm receiving is "Page file creation failed: An invalid parameter was passed to a service or function as the second parameter". I've tried passing 1GB, 1G, and simply 1024, but the result is always the same. Any ideas?

Re: Can I have virtual memory going on?
« Reply #8 on: September 07, 2018, 05:19:09 PM »

was_JFX

  • Code Baker
  • Grand Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 1074
Well, report it to the author of the tool.

 

Powered by EzPortal