Oblivion And Memory Usage

Post » Tue May 03, 2011 11:16 am

I have an original copy of the game, is GotY edition. My OS is 64 bit Win7 Ultimate. The graphics card is a 4870x2 with 1GB of VRAM useful, and I have 8GB of system RAM, so I think in terms of hardware I have enough power. I installed QTP3 Redimized, and all UL, and all the textures made by Mikal33 and even Dark Regal IC Optimized.

Everything works fine, the only problem I have is the crash that occurs when the system RAM is occupied by the process of Oblivion up to 1.8GB.

So I tried to patch the exe of the game (7MB) with LAA 4GB, but does not work, because I still have the same crash when I get to have 1.8GB of RAM occupied by Oblivion, I see this from the task manager.

Two questions:
What is your cpu?
What does the rest of your memory usage look like when you crash at 1.8GB RAM?

With all that said ...I know for a fact I could not go over 1.8 gig used TILL I patched Both Oblivion & OBSE with the 4 gig Patch. I do not know why . but this is what I experienced. Cant hurt to try now can it....lol

When you ran the LAA patcher, it created a backup of the file it edited. Do a test. Move your obse_loader.dll to a temporary folder outside of Oblivion folder. Rename the obse_loader.BAK to obse_loader.dll. Now launch the game.

I believe you will still experience the LAA benefit in your game. If the test fails, you can easily restore your patched obse loader, and I will remain utterly perplexed.

I'm asking you to do this, because, while there is a legitimate reason to run this patcher on the Oblivion.exe, it is not a good idea to encourage people to start using the utility to edit just any old file in hopes that something beneficial will happen.

I also find no reason at all to believe that editing the obse dll file can do anything. I'm interested in accurate information being disseminated, not guesswork regarding executable files. There's a reason why shying away from messing with executable files is good safe practice.

gothemasticator
User avatar
Christine
 
Posts: 3442
Joined: Thu Dec 14, 2006 12:52 am

Post » Tue May 03, 2011 6:33 am

I have an E8600 @ default (3.33 Ghz). At first I started Oblivion and kept open several windows at once with Firefox and the virtual machine with Windows XP, so when it crashed memory usage marked 6.5 / 7 GB. So I decided to quit everything. The memory used was marked on the task manager to 1GB or so. I relaunched Oblivion, is once again crashed to 2GB and the memory was at 3.5GB. I will try to follow the procedure that you've shown me and I will try to reinstall Obse. Note: The LAA patch always tells me that it works and that has patched the executable successfully. Indeed it is also created the backup file.
User avatar
Brandi Norton
 
Posts: 3334
Joined: Fri Feb 09, 2007 9:24 pm

Post » Mon May 02, 2011 11:51 pm

I relaunched Oblivion, is once again crashed to 2GB.

I don't know if you just rounded up for that 2gb number, but if you are in fact reaching 2gb on your reported Oblivion.exe process memory usage, this would mean that LAA is working. Without LAA on a Windows7 64bit OS, you wouldn't be able to go beyond 1.85gb. That would be the max.

EDIT - I sent you a PM. Let me know if you have questions.
User avatar
lillian luna
 
Posts: 3432
Joined: Thu Aug 31, 2006 9:43 pm

Post » Tue May 03, 2011 1:04 am

Disk in Drive = no (no further Discussion here please)


That's probably the problem. As requested, not discussing further.

EDITING to add the word "probably". I shouldn't just blindly say that it IS the problem :)
User avatar
OnlyDumazzapplyhere
 
Posts: 3445
Joined: Wed Jan 24, 2007 12:43 am

Post » Mon May 02, 2011 7:05 pm

That's the problem. As requested, not discussing further.

Ahh, makes sense... :facepalm:
User avatar
cassy
 
Posts: 3368
Joined: Mon Mar 05, 2007 12:57 am

Post » Tue May 03, 2011 8:28 am

Snip...


When you ran the LAA patcher, it created a backup of the file it edited. Do a test. Move your obse_loader.dll to a temporary folder outside of Oblivion folder. Rename the obse_loader.BAK to obse_loader.dll. Now launch the game.

I believe you will still experience the LAA benefit in your game. If the test fails, you can easily restore your patched obse loader, and I will remain utterly perplexed.

I'm asking you to do this, because, while there is a legitimate reason to run this patcher on the Oblivion.exe, it is not a good idea to encourage people to start using the utility to edit just any old file in hopes that something beneficial will happen.

I also find no reason at all to believe that editing the obse dll file can do anything. I'm interested in accurate information being disseminated, not guesswork regarding executable files. There's a reason why shying away from messing with executable files is good safe practice.

gothemasticator


I dident know that....I already had a back-up....I have a backup of every Oblivion .exe also...pre patch....Pre SI..ect ect. See Below for response....

That's probably the problem. As requested, not discussing further.

EDITING to add the word "probably". I shouldn't just blindly say that it IS the problem :)

I think there is a mix up here..I dont have a problem at all ..I was trying to help.....

Ahh, makes sense... :facepalm:


Again I dident have a problem..I can make oblivion use 3.8 gig of mem.....


OK I did what was Suggested in the above Response from GTM. NOW once again I have not had a problem But In Doing this i will concede that it is NOT necessary to patch OBSE..But I will continue to have the Flag Flipped for me and this is Why.....

I did as requested ..UNdid the patch on OBSE... I did the Same thing every time. use my current save in Chedinal....Left and headed Due South....

1) Crash at 2:10 (yes thats 2 mins) Mem seen in Program Manager 1,200,100
2) Crash at 9:31 Mem 1,466,164
3) Crash at 11:03 Mem 1,616,744

REdid the patch for OBSE

1) Dident Crash...made it all the way to Topal bay so headed west, followed the coast up and around Layawyne continued and crossed to other side and headed to Bravil at this point I was not paying attention to the Idiots I had in toe...I met a few Deserters?...and in the insuing battle i was killed ...Sigh....but Leaving Oblivion I have the most important Screen shot for me....

1) 47 mins - Mem 2,223,980 It would have gone on like usual, Hours & Hours of Play time no Crashes! But i died!!!

Like i said...Yes Oblivion Might want to use the flag, But I cant seam to get it to use it. So that is why I suggested that the Other poster try it and see if they also could benefit Like I have. My game I perfectly Stable With OBSE patched, and without well as you can see not so much. Yes I saved all the screen shots . But I think that Many Here know way more on this then I do . I don't Know why I am Rock stable this way Just that I am!!

I never changed a thing, No restarts of computer. Only thing I did was undo then redo! But if this helps spur on discussion I am all for that.
Like I said I wont Suggest this any More.
User avatar
alyssa ALYSSA
 
Posts: 3382
Joined: Mon Sep 25, 2006 8:36 pm

Post » Tue May 03, 2011 9:27 am

I have Windows 7 Pro 64-bit. I patched my oblivion.exe only. I was able to get memory up to 2.2GB without crash. Prior to patch I crashed at 1.8GB. So in my case I did not have to patch the OBSE loader.

One item to note is that my vram was below 400MB and I do have a 1GB vram card.

As I load my texture packs (QTP3) over the next day or two I will see if that has any bearing on this.

I have the GOTY version.
User avatar
Melis Hristina
 
Posts: 3509
Joined: Sat Jun 17, 2006 10:36 pm

Post » Tue May 03, 2011 7:55 am

I have Windows 7 Pro 64-bit. I patched my oblivion.exe only. I was able to get memory up to 2.2GB without crash. Prior to patch I crashed at 1.8GB. So in my case I did not have to patch the OBSE loader.

One item to note is that my vram was below 400MB and I do have a 1GB vram card.

As I load my texture packs (QTP3) over the next day or two I will see if that has any bearing on this.

I have the GOTY version.



lol...Ther ya Go Far327 a GOTY edition for ya.....
User avatar
Milad Hajipour
 
Posts: 3482
Joined: Tue May 29, 2007 3:01 am

Post » Tue May 03, 2011 5:27 am

Cool

Well I guess that answers that...


I was thinking of maybe opening a topic dedicated to creating a database of known CTDs and there causes.

I thought if players could start reporting what they find in the Event Log per each CTD we might be able to
create an OP that would archive these results.

For instance: A crash report in the Event Log might say something about the Hashstack failing.
This is usually a CPU related crash. Most likely the cause would be an overclocked CPU that is unstable when running the game.

All I would need to do is open the OP with instructions on how people can look up there crash logs in the Event Log.


What do you all think? I could create a poll, but doubt that would be necessary.
User avatar
Claire Lynham
 
Posts: 3432
Joined: Mon Feb 12, 2007 9:42 am

Post » Mon May 02, 2011 7:16 pm

+1 for that idea.
User avatar
Amber Hubbard
 
Posts: 3537
Joined: Tue Dec 05, 2006 6:59 pm

Post » Mon May 02, 2011 7:36 pm

Are you talking about the windows event log?
If yes you will need to have some Oblivion low level gurus on hands because they really don't give much information...

And I just looked at a few past crashes and Apparently the actual exception location was different on 6 of the 6 I looked at :P.
User avatar
James Baldwin
 
Posts: 3366
Joined: Tue Jun 05, 2007 11:11 am

Post » Mon May 02, 2011 11:41 pm

Are you talking about the windows event log?
If yes you will need to have some Oblivion low level gurus on hands because they really don't give much information...

And I just looked at a few past crashes and Apparently the actual exception location was different on 6 of the 6 I looked at :P.


Well, I'm sure the guru's would chime in to give some advice if the topic gains interest. It just seems very redundant seeing all
these new topics created everyday about crashes that in the past have been solved over and over. Problem is, a lot of players
that know the fixes to most all crashes are not always on the forums. So, it would be great to just have an archive for reference.

I'll wait for others to give there opinions. Thanks for your input DD. (Hope it's ok to call you that)

EDIT - Wanted to say thanks for you killer mod release! I haven't tried it yet, but am itching to... Watching your thread with much interest!
User avatar
Natalie Harvey
 
Posts: 3433
Joined: Fri Aug 18, 2006 12:15 pm

Post » Tue May 03, 2011 9:04 am

@far327:
Yeah it's ok, I know my nickname is long to write :P.
And thank you for the congratulations on the tool but it was just a little side project.

If I may expand a little on what I was saying, getting the exception code won't help much because it will at best tell you where it failed.
For example the event viewer will give you crashed at address 0x0412345 with exception C0000005.

Exception C0000005 just means Oblivion tried to access invalid memory.
Address 0x412345 will give you the place where it crashed.
At best you will be able to get some context out of it like let's say it's function CScript::Execute.
You might even find out after some debugging that it's the address where Oblivion loads some object reference for the script, it assumes the load went well and uses the reference without checking it, thus causing the crash.
Now what you would need to find the source of the bug is some context at the moment of the crash, ie what was the script and what was the reference of the object to be loaded.

And that you can't get with the event log, at best you will be able to say(with the help of someone who knows the oblivion executable very well) "some script failed to load an object and crashed".

Most people that have been helped here for crashes have been through the accumulated experience of tons of mod users who tried desactivating the mods that they thought could be the culprit and see if it solved anything :).
Of course bashing adds to the possible issues that can arise since it mixes stuff from different mods.

Btw that makes me think of something else that could be coded...
Hmmm...
User avatar
Sherry Speakman
 
Posts: 3487
Joined: Fri Oct 20, 2006 1:00 pm

Post » Tue May 03, 2011 12:19 am

What do you all think? I could create a poll, but doubt that would be necessary.

I think the CTD thread and archive is a great idea!

I just went through my OB crash history (Windows 7 Reliability History tool) and noticed that the past "many" crashes all listed the Fault Module Name as StackHash_e98d. Does this mean I have an over clocked CPU (have no idea about h/w, simply bought a readymade PC)?

The System Information screen provides this information...
Processor: Intel® Core™ i7 CPU 920 @ 2.67GHz, 3200 Mhz, 4 Core(s), 8 Logical Processor(s)

Also, I did notice that my last bout of crashes seemed to be related to vram - was getting up to 950 before the crashes. Removed a recently added mod (introduces butterflies and dragonflies) and the vram usage dropped significantly and the crashes stopped. Yet these were reporting the StackHash as the fault module.
User avatar
Big mike
 
Posts: 3423
Joined: Fri Sep 21, 2007 6:38 pm

Post » Tue May 03, 2011 8:19 am

OK, I reinstalled Oblivion GotY, and the only mod I had was "rock rock rock your boat. I went to Anvil and I activated the mod, I waited and saw the RAM up to 3.69GB. Do not stop and went up slowly. I do not know why Oblivion has stopped using my two cores, using only one core, and everything was jerky, but the patch seems to work.
User avatar
Unstoppable Judge
 
Posts: 3337
Joined: Sat Jul 29, 2006 11:22 pm

Post » Tue May 03, 2011 9:40 am

I think the CTD thread and archive is a great idea!

I just went through my OB crash history (Windows 7 Reliability History tool) and noticed that the past "many" crashes all listed the Fault Module Name as StackHash_e98d. Does this mean I have an over clocked CPU (have no idea about h/w, simply bought a readymade PC)?

The System Information screen provides this information...
Processor: Intel® Core™ i7 CPU 920 @ 2.67GHz, 3200 Mhz, 4 Core(s), 8 Logical Processor(s)

Also, I did notice that my last bout of crashes seemed to be related to vram - was getting up to 950 before the crashes. Removed a recently added mod (introduces butterflies and dragonflies) and the vram usage dropped significantly and the crashes stopped. Yet these were reporting the StackHash as the fault module.


Stackhash crash I used was just an example. The few times i've experienced it I thought it was my CPU. I may be wrong, but lowering my CPU clock did help. Not sure if I will start the topic or not. Would still like to hear from others on it. Was that mod which added the butterflies and dragonflies called Natural Wildlife?
User avatar
Betsy Humpledink
 
Posts: 3443
Joined: Wed Jun 28, 2006 11:56 am

Post » Tue May 03, 2011 5:54 am

OK, I reinstalled Oblivion GotY, and the only mod I had was "rock rock rock your boat. I went to Anvil and I activated the mod, I waited and saw the RAM up to 3.69GB. Do not stop and went up slowly. I do not know why Oblivion has stopped using my two cores, using only one core, and everything was jerky, but the patch seems to work.

Not sure about the second core not working either. i might need to watch for that as well. Anyways, I'm happy the test worked for you. Perhaps you should build your load order slowly and test each mod which you suspect crashing. Good Luck!
User avatar
Mariaa EM.
 
Posts: 3347
Joined: Fri Aug 10, 2007 3:28 am

Post » Tue May 03, 2011 6:55 am

Stackhash crash I used was just an example. The few times i've experienced it I thought it was my CPU. I may be wrong, but lowering my CPU clock did help. Not sure if I will start the topic or not. Would still like to hear from others on it. Was that mod which added the butterflies and dragonflies called Natural Wildlife?

No - it was Ls More Butterflies and Fireflies, but I don't want anyone to think it is a bad mod - I have just noticed that my stability is impacted by Vram usage more than enything else - and adjusting that is always a frustrating compromise :(
User avatar
A Boy called Marilyn
 
Posts: 3391
Joined: Sat May 26, 2007 7:17 am

Post » Mon May 02, 2011 9:36 pm

No - it was Ls More Butterflies and Fireflies, but I don't want anyone to think it is a bad mod - I have just noticed that my stability is impacted by Vram usage more than enything else - and adjusting that is always a frustrating compromise :(

I don't know if your VRAM is the culprit. I did a lot of VRAM testing and found that stability was actually very good. My initial tests were skewed by a bad load order, but my tests from a game only modded with High Res textures and very high resolution shadowing enabled showed that VRAM, even when exceed past it's dedicated amount can be quite stable. The only real disadvantage is the extra lag and stutter that occurs once your system memory starts substituting as VRAM. How much total system RAM are you running? I also sent you a PM.
User avatar
Princess Johnson
 
Posts: 3435
Joined: Wed Feb 07, 2007 5:44 pm

Post » Tue May 03, 2011 4:33 am

I don't know if your VRAM is the culprit. I did a lot of VRAM testing and found that stability was actually very good. My initial tests were skewed by a bad load order, but my tests from a game only modded with High Res textures and very high resolution shadowing enabled showed that VRAM, even when exceed past it's dedicated amount can be quite stable. The only real disadvantage is the extra lag and stutter that occurs once your system memory starts substituting as VRAM. How much total system RAM are you running? I also sent you a PM.

Thanks - responded to your PM.

Only missing bit was my system RAM, which is 6gb
User avatar
Sophie Louise Edge
 
Posts: 3461
Joined: Sat Oct 21, 2006 7:09 pm

Post » Mon May 02, 2011 7:58 pm

Thanks - responded to your PM.

Only missing bit was my system RAM, which is 6gb

Oh ya man! With 6gb ram you should remain stable once your VRAM exceeds past it's dedicated amount. Again, the only real issues you'll experience once your VRAM reaches past 1gb is some additional lag and stutter.I responded to your PM.

EDIT- and to answer your question about if your CPU is overclocked. The answer is no. Are you using Oblivion Stutter Remover by chance? If so, have you changed the heapreplacement algorithm?
User avatar
maria Dwyer
 
Posts: 3422
Joined: Sat Jan 27, 2007 11:24 am

Post » Mon May 02, 2011 10:24 pm

Hey, I added a little blurb about this thread to the main information page. I am a little burned out after completing the outline for the guide I am planning, so I will enhance the description (and the page) later.


Thank you for bringing this to the community's attention!
- Tomlong75210
User avatar
Jason Rice
 
Posts: 3445
Joined: Thu Aug 16, 2007 3:42 pm

Post » Mon May 02, 2011 8:47 pm

AMD Phenom II X4 955 3.2Ghz
8GB Corsair Dominator
Asus M4A79T Deluxe
Sapphire Vapor-X Radeon HD 4870 2GB
Sound Blaster X-Fi
Windows 7 Home Premium 64-bit.

Set the LAA flag on oblivion.exe. No dice, still getting crashes at exactly 1.8GB in task manager.
Figured it wouldn't hurt to also set LAA on obse_loader.exe - still crashes at exactly the same spot.

Much head scratching. What am I missing here? I've been able to confirm that the LAA flag did take, so it's not because the patcher lied.
User avatar
matt
 
Posts: 3267
Joined: Wed May 30, 2007 10:17 am

Post » Tue May 03, 2011 12:59 am

http://img179.imageshack.us/img179/8893/obmemory.jpg

Figured I'd post that too, definitely not clearing the 2GB marker at all. Win7 seems to have a pretty nice resource monitor built in.

Don't really get why it isn't working unless there's a step in the process that hasn't been covered.
User avatar
Jack
 
Posts: 3483
Joined: Sat Oct 20, 2007 8:08 am

Post » Mon May 02, 2011 7:55 pm

Hey Arthmoor

Very strange... There are others that are saying it hasn't worked for them past the 1.8gb mark as well, so there must be some sort of mod or game setting that is causing a conflict out there. Have you attempted to push your memory usage past 1.8gb on a Vanilla game? To make it easy, try downloading http://www.tesnexus.com/downloads/file.php?id=29649 and walk past The Floating Bowl located in Anvil Docks. This will trigger the script which rocks the ships in the water to run. Keep an eye on your memory process as it will increase by 500kb to 1mb per a second and should reach past the 1.8gb mark and crash around 3.8gb based on the 8gb of ram you have. This was the memory leak I used to test with.

NOTE that the memory leak has been fixed by OBSE 18.6c and above. Currently I am using 18.6d and the leak is fixed. Try using v18.4. That should still contain the leak I believe.


Good luck! Oh, and if you happen to find the mod that conflicts, please let us know! I will be watching out for this issue as well.

EDIT - Been a while since I've tested my memory usage. Have actually been playing the game believe it or not! Tried test my memory usage just now. The LAA patch seem to be fine for me. I was able to hit 2.1gb on my Oblivion.exe memory process with no issues. Probably would of been much higher but I am using Streamlines streamsmooth feature. (trying to test stability with OSR) Man, the game runs so smooth with those two! I don't know what your conflict might be. I have 180 mods currently loaded, I could post my LO if it helps narrow down your search.

Can you think of anything else that is flagging your Oblivion.exe? Any other OBSE plugins or dependent mods that you think might be related to the issue?
User avatar
Danial Zachery
 
Posts: 3451
Joined: Fri Aug 24, 2007 5:41 am

PreviousNext

Return to IV - Oblivion