Console command to "flush" memory?

Post » Thu May 31, 2012 11:30 pm

I have the issue that after some time the performance drops significantly. Restarting the game or sometimes alt-tabing fixes it.
I use a 4GB mod but it also happens without it. It's not because my PC is crap.

I suspect the memory is full and the game has poor memory management.

I researched if there is a console command to "flush" the memory. I found a command for oblivion (and fallout?) that sounds like it does that.
It's called "RunMemoryPass" and takes an integer as argument.

Skyrim accepts the command but nothing changes no matter what number I pass as argument.

Does anyone know what this command does? Is there a way to flush memory?


I would appreciate if a future patch will implement a proper memory management. For example if I fast travel a far distance it should unload everything and only load the relevant enviroment.
User avatar
Red Bevinz
 
Posts: 3318
Joined: Thu Sep 20, 2007 7:25 am

Post » Fri Jun 01, 2012 7:41 am

PergeCellBuffers will clear out any loaded cells from memory.
User avatar
Annika Marziniak
 
Posts: 3416
Joined: Wed Apr 18, 2007 6:22 am

Post » Fri Jun 01, 2012 12:41 am

PergeCellBuffers will clear out any loaded cells from memory.

Purge*
User avatar
WYatt REed
 
Posts: 3409
Joined: Mon Jun 18, 2007 3:06 pm

Post » Fri Jun 01, 2012 12:11 am

PCB was the console command in Oblivion to accomplish that. Not sure what overall effect it will have on Skyrim, given that memory management for it is different according to Bethesda.
User avatar
lucile davignon
 
Posts: 3375
Joined: Thu Mar 22, 2007 10:40 pm

Post » Thu May 31, 2012 10:09 pm

PCB was the console command in Oblivion to accomplish that. Not sure what overall effect it will have on Skyrim, given that memory management for it is different according to Bethesda.

Had a short point a few weeks back when my game bogged down and got to stuttering. Went into the console and hit "PCB" and enter and it smoothed right out. Makes me think it can still work.
User avatar
JeSsy ArEllano
 
Posts: 3369
Joined: Fri Oct 20, 2006 10:51 am

Post » Thu May 31, 2012 8:08 pm

Had a short point a few weeks back when my game bogged down and got to stuttering. Went into the console and hit "PCB" and enter and it smoothed right out. Makes me think it can still work.


I inadvertently typed "PCB 1" and hit the Enter key (instead of "PCB" and hitting the Enter key)
After realizing my oversight I toggled several times between PCB 1 / PCB 0/ PCB to see if the console would advise me
that my syntax was in error, but the console accepted "PCB 1" "PCB 0" and "PCB" without any complaints.

It has me concerned that the console accepted both PCB 1 as well as PCB 0.

Is there a console command to default PCB back to where it should be? Or is there no need for me to do anything now.
User avatar
Nina Mccormick
 
Posts: 3507
Joined: Mon Sep 18, 2006 5:38 pm

Post » Thu May 31, 2012 8:38 pm

I inadvertently typed "PCB 1" and hit the Enter key (instead of "PCB" and hitting the Enter key)
After realizing my oversight I toggled several times between PCB 1 / PCB 0/ PCB to see if the console would advise me
that my syntax was in error, but the console accepted "PCB 1" "PCB 0" and "PCB" without any complaints.

It has me concerned that the console accepted both PCB 1 as well as PCB 0.

Is there a console command to default PCB back to where it should be? Or is there no need for me to do anything now.
It's not a toggle. PCB purges cells that are background loaded but aren't being used.
User avatar
Cameron Garrod
 
Posts: 3427
Joined: Sat Jun 30, 2007 7:46 am

Post » Fri Jun 01, 2012 1:42 am

(can't delete this screen)
User avatar
Honey Suckle
 
Posts: 3425
Joined: Wed Sep 27, 2006 4:22 pm

Post » Fri Jun 01, 2012 7:29 am

It's not a toggle. PCB purges cells that are background loaded but aren't being used.

Yes, I presumed that. However, my concern still remains that PCB 1 and PCB 0 are in there.
What then does PCB 1 (true?) and PCB 0 (not true?) do?
PCB 0 did not prevent me from following up with PCB.
User avatar
Rachel Hall
 
Posts: 3396
Joined: Thu Jun 22, 2006 3:41 pm

Post » Fri Jun 01, 2012 12:45 am

Because it isn't checking for any parameters since it doesn't need them.
User avatar
Bloomer
 
Posts: 3435
Joined: Sun May 27, 2007 9:23 pm

Post » Thu May 31, 2012 10:32 pm

Because it isn't checking for any parameters since it doesn't need them.
Then I'll just write off PCB 0 / PCB 1 as redundant, thanks
User avatar
Miranda Taylor
 
Posts: 3406
Joined: Sat Feb 24, 2007 3:39 pm

Post » Fri Jun 01, 2012 5:49 am

I tried PCB on several occasions now, it doesn't do anything. It's still choppy. Sometimes there is an output on the console after entering the command.
When I alt-tab to windows for a few seconds the game will run smoothly again.
User avatar
Lyd
 
Posts: 3335
Joined: Sat Aug 26, 2006 2:56 pm

Post » Thu May 31, 2012 10:27 pm

bump
User avatar
Mr. Ray
 
Posts: 3459
Joined: Sun Jul 29, 2007 8:08 am

Post » Fri Jun 01, 2012 3:33 am

same problem as you. granted, i don't play the game as often since i pretty much done everything in the game.. well not everything coz its impossible but all the guilds all the playstyles.. so i haven't rlly tested pcb, but i will try when it happens.
User avatar
Kathryn Medows
 
Posts: 3547
Joined: Sun Nov 19, 2006 12:10 pm

Post » Fri Jun 01, 2012 3:19 am

PCB was the console command in Oblivion to accomplish that. Not sure what overall effect it will have on Skyrim, given that memory management for it is different according to Bethesda.

Different as in "much worse"?

I've had the game dump me rudely back to the desktop with no error message of any kind more times in the 150 hours I've been playing it than Oblivion, Fallout 3 and Fallout: New Vegas ever did for the 350 hours I played those altogether and I'm using the Skyrim4GB file as well with no mods of any kind!!!

I'm all for engine improvements and the game is otherwise outstanding but next time, please Bethesda, test the blasted game thoroughly before you ship it!!!!!!
User avatar
Iain Lamb
 
Posts: 3453
Joined: Sat May 19, 2007 4:47 am

Post » Fri Jun 01, 2012 6:03 am

The game becomes unstable with ALT+TAB, as it says in the read-me...

Save your game, Exit to desktop, Reload the saved game... That is the "Best" way to purge memory build-up. Not questionable and game-breaking purges while running a live game, that potentially destroy in-game content that you might need.

The alt+tab issue is related to the game not truly returning back to full-screen. Windows is interrupting it, though it looks full-screen, it stays running behind steam. Since steam is what launched the game, and is running in front of the game for overlay use.

Turn off all steam toys... Steams overlay keys, and quick-keys and microphone watching program options... and set all keys to NONE for hotkeys in steam. That should help reduce game-jitter a bit. (Also be sure you are playing offline, as steam will kill the game while it uploads junk and downloads junk in the background, while you play. And disable the games AUTO-SAVE on TRAVEL and the SAVE-INTERVAL to NEVER or 60. And disable XBOX control, and vibrate, and anything else you are not actually using in the game.

Save manually, or use SLEEP or REST to auto-save.
User avatar
BrEezy Baby
 
Posts: 3478
Joined: Sun Mar 11, 2007 4:22 am

Post » Fri Jun 01, 2012 8:28 am

wow what a stable game...
User avatar
Niisha
 
Posts: 3393
Joined: Fri Sep 15, 2006 2:54 am

Post » Thu May 31, 2012 8:18 pm

wow what a stable game...
A lot of full-screen games have issues like this... That is a windows problem.
However, "Steam" is adding to the issue, with its "Key hooks" "Sound hooks" and "Screen hooks", which are used for steams stupid chat and overlays and uploading junk. (Novelties that are rarely used, but burden everyone.)

Not that the game itself is exactly stable at the moment... for everyone... (Some people don't notice, or have lucked-out, or haven't hit the randomness yet. It seems to be a lottery... WOOT WE WON!)
User avatar
Flesh Tunnel
 
Posts: 3409
Joined: Mon Sep 18, 2006 7:43 pm

Post » Thu May 31, 2012 9:17 pm

I find when I alt tab out, when I click or alt tab back to skyrim it comes up as a black window. A second alt tab to the skyrim process then loads the game back up properly. This happens every single time, but I rarely ever get crashes.
User avatar
kelly thomson
 
Posts: 3380
Joined: Thu Jun 22, 2006 12:18 pm

Post » Fri Jun 01, 2012 8:12 am

same wolf, but i find that if i do that too many times things like water and fire disapear,, they are still there tho. fire emits light, water are still swimable (and drownable) but they are invisible.

so i need to turn off some steam stuff like the ability to [censored]+tab and F12 to take pics?
User avatar
Star Dunkels Macmillan
 
Posts: 3421
Joined: Thu Aug 31, 2006 4:00 pm

Post » Fri Jun 01, 2012 12:04 am

The game becomes unstable with ALT+TAB, as it says in the read-me...

Save your game, Exit to desktop, Reload the saved game... That is the "Best" way to purge memory build-up. Not questionable and game-breaking purges while running a live game, that potentially destroy in-game content that you might need.

The alt+tab issue is related to the game not truly returning back to full-screen. Windows is interrupting it, though it looks full-screen, it stays running behind steam. Since steam is what launched the game, and is running in front of the game for overlay use.

Turn off all steam toys... Steams overlay keys, and quick-keys and microphone watching program options... and set all keys to NONE for hotkeys in steam. That should help reduce game-jitter a bit. (Also be sure you are playing offline, as steam will kill the game while it uploads junk and downloads junk in the background, while you play. And disable the games AUTO-SAVE on TRAVEL and the SAVE-INTERVAL to NEVER or 60. And disable XBOX control, and vibrate, and anything else you are not actually using in the game.

Save manually, or use SLEEP or REST to auto-save.

True I ve noticed that after alt-tabbing the game will jump from using all 8 processors to 4. Atleast thats what my task manager said, maybe u guys could do some experimenting as well.
User avatar
brian adkins
 
Posts: 3452
Joined: Mon Oct 01, 2007 8:51 am

Post » Fri Jun 01, 2012 3:39 am

ok played for about 3 hours to test it.. got out of a cave and it happened. so i open console and write pcb.. nothing. for 2 min i try to do it again and again and nothing happens.
i hit esc to pause the game and then open console and write pcb, and it worked. jumped back to 50fps

hope i helped.
User avatar
Ells
 
Posts: 3430
Joined: Thu Aug 10, 2006 9:03 pm

Post » Thu May 31, 2012 11:48 pm

I can't wait for the Creation Kit so I can make my PCB beds mod for Skyrim (clear your cache upon activating a bed).

Not to derail this thread, but does PCB work on Morrowind as well?
User avatar
NAkeshIa BENNETT
 
Posts: 3519
Joined: Fri Jun 16, 2006 12:23 pm

Post » Fri Jun 01, 2012 5:44 am

pcb doesn't work anymore no matter what i do.

tbh, i doubt its steam. NO GAME that i played EVER had this issue. only this. you can try to justify it but its all comes to this.. this game is broken. im sorry. i love this game and i will TRY to continue to play but having to exit the game and start it again is not a solution, its proof of how broken it is.

pisses me off a well know and loved company releases such a broken game. i would understand flying horses. i would understand randomly spawning mammoths or dragons flying backwards, but this is not the same.. this is a bug that is related on game stability and THIS GAME IS BROKEN.


GOD some1 do something already...
User avatar
Amy Gibson
 
Posts: 3540
Joined: Wed Oct 04, 2006 2:11 pm

Post » Thu May 31, 2012 11:45 pm

also did testing with PCB..and pcb both did nothing....but..

Alt/Tab clears about 100 - 200 Meg of Ram . I posted Pic's in another thread....

PIC's

http://i232.photobucket.com/albums/ee72/camaro_69_327/TESV_2011_12_15_12_32_36_982.jpg

ALT/TAB

http://i232.photobucket.com/albums/ee72/camaro_69_327/TESV_2011_12_15_12_33_00_228.jpg

AS you can see I never moved. Trying PCB at the time did nothing. Every time I ALT/TAB it clears Ram.
User avatar
Maddy Paul
 
Posts: 3430
Joined: Wed Feb 14, 2007 4:20 pm

Next

Return to V - Skyrim