Optimize interiors to prevent excessive memory use

Post » Tue May 17, 2011 10:00 am

Hello everyone,

I have an issue that I apparently can't solve on my own, and would be thankful for some help from fellow modders.

I've been modding interiors for almost 4 years, and have never had a major problem with excessive memory use in any of my mods. However, recently I redesigned the interior of Hoarfrost Castle (for personal use and perhaps submission to the original modder for review). When play-testing the mod, I encountered CTDs while loading several of the interiors, and upon investigation found that memory use was ridiculously high (>2GB for the game according to Task Manager, where I typically run about 1-1.2GB).

I've examined the custom meshes included in the interiors, and none of them are excessively large. I've reduced the number of items in the rooms, and yet still I have the same problem, and only in the same interiors. I know it isn't a custom item/scripting problem, because I haven't even scripted anything IN the rooms as yet, due to this issue.

Is there a utility which would allow me to either:

1> anolyze my mod for compatibility or optimization/memory use problems, or
2> see the total memory use for a particular interior so I could attempt to reduce it myself?

ANY assistance someone in the community could provide would be greatly appreciated!!!

Thanks,

Shane
User avatar
+++CAZZY
 
Posts: 3403
Joined: Wed Sep 13, 2006 1:04 pm

Post » Tue May 17, 2011 1:37 am

1. Nothing I heard about.
2. The CS tells you what the currently loaded cell is using on the status bar on the bottom of the CS. Mostly, look at the number of 'Faces' and 'Verts'. Compare that number to a vanilla cell for a good estimate. +1 million verts would be a lot but would probably not cause a CTD.

CTD's usually occur when there is a new mesh that the CS does not like. Have you added any new objects to the cells?
User avatar
Elisha KIng
 
Posts: 3285
Joined: Sat Aug 18, 2007 12:18 am

Post » Tue May 17, 2011 5:26 am

Willie,

Thanks for responding - I appreciate your input. My numbers for faces and verts were not out of line with other mods I've done, and certainly not over 1 million. The odd thing is when I load the cell early, meaning as soon as I load the game, if I am in or just outside the cell in question, it usually loads fine. It's mainly when I've navigated through a couple or a few other cells and then come into my modded ones that the load time is extended, and the game eventually crashes.

It's really freaky...

Again, thanks much for your help!

Shane
User avatar
Javaun Thompson
 
Posts: 3397
Joined: Fri Sep 21, 2007 10:28 am

Post » Tue May 17, 2011 8:27 am

Excessive 'Lighting' objects can slow down or crash your system. Did you modify the lights in the afflicted cells?
User avatar
Mylizards Dot com
 
Posts: 3379
Joined: Fri May 04, 2007 1:59 pm

Post » Tue May 17, 2011 5:57 am

Vyper,

Thanks for the reply. Lighting, eh? Well, in the kitchen cell, I did add a few fires for the ovens...there were maybe 10 different small fires. They weren't modified in any way - just vanilla objects. I will take a look and see if maybe I utilized any custom lighting in any of them.

Will let you know if that helps. Thanks much!!

Shane
User avatar
vanuza
 
Posts: 3522
Joined: Fri Sep 22, 2006 11:14 pm

Post » Tue May 17, 2011 1:36 am

A whole bunch of lights, or a lot of "very large" textures, or some very 'long' hallways or a sprawling interior can also cause crashes.
User avatar
jenny goodwin
 
Posts: 3461
Joined: Wed Sep 13, 2006 4:57 am


Return to IV - Oblivion