Jump to content
  • 0

Error - Out of Memory


QuagaarWarrior

Question

Hi all,

 

Just looking for some assistance with my DynDOLOD installation. I am at the stage of running Dyn and every time I run it I get the following message:

 

Error while creating image data with params: Width=4096 Height=2048

Format=A8R8G8B8. Exception Message: Out of Memory

 

I don't suppose anyone can tell me what this relates to and what I need to do to fix it?

 

I have run Dyn successfully just last week. I then decided I wasn't happy with my trees mods so I deleted my existing tree mods (and their billboards), installed others, re-ran TexGen and now I'm trying to re-run Dyn but keep getting the above error message.

 

I have unticked my Bashed patch in MO. I have also unticked the 'Have MO manage archives' box.

 

Any suggestions?

 

Many thanks,

 

 

Link to comment
Share on other sites

Recommended Posts

  • 0

Post the log.

 

This is about reading a texture or generating the texture atlas.

 

Did you change the texture output format in the ini?

You may have a billboard texture that has broken data.

 

The program may really run out of memory.

Edited by sheson
Link to comment
Share on other sites

  • 0

I ran TexGen. Sure I left everything at default. Tile size 512 I think.

 

Should I try re-running it?


Hold on - when I ran TexGen I left everything at default including LOD Texture Size at 256.

 

Is that what you meant when you said Tile size or were you referring to Tile size when I run Dyn?

Link to comment
Share on other sites

  • 0

OK. Have re-run TexGen using LOD Texture size 256. All other settings at default. Have added and activated it in MO

 

When running Dyn I am using Max Tile Size 512.

 

Should I be using 256 instead to match the TexGen size or does it not matter?

 

In the EVT guide it says to use 2048 max tile size when generating ultra trees but I assume this is just for people who want crazy quality and is not a necessity? (I appreciate EVT isn't your mod)

 

 

EDIT: If It's just Dreamborne Isles that's causing the problem I guess I could just deactivate them from the worlds box when running Dyn and that should get the process finished? Just means I won't have Dyn in those world spaces?

Edited by QuagaarWarrior
Link to comment
Share on other sites

  • 0

DynDOLODs max tile does not need to match TexGen size. That's fine. I am just trying to understand what settings you used.

 

The DynDOLOD max tile setting defines the size/quality of the resulting texture atlas. Default is typically fine (for me). It's settings rather depends on available VRAM / performance requirement than anything else.

 

Yes, you can just not check those worldspaces (the mods ships with decent static/tree LOD generated by DynDOLOD anyways) and skip them.

 

For a test I am going to ask you to try the opposite: Try generating a single of its worldspaces and see if the memory error still happens.

 

Then upload/post

..\DynDOLOD\Edit Scripts\DynDOLOD\cache\DynDOLOD_TES5_*_flat_textures_used.txt

..\DynDOLOD\Edit Scripts\DynDOLOD\cache\DynDOLOD_TES5_*_textures_used.txt

..\DynDOLOD\Edit Scripts\DynDOLOD\cache\DynDOLOD_TES5_*_textures_used.txt

..\DynDOLOD\Edit Scripts\DynDOLOD\cache\DynDOLOD_TES5_atlas_map_*.txt

..\DynDOLOD\Edit Scripts\DynDOLOD\cache\DynDOLOD_TES5_flat_atlas_map_*.txt

 

for whichever worldspace you have the error first with?

 

What Windows version (32/64 bit) do you have? How much RAM is installed?

Can you try to track DynDOLOD.exe memory usage in Task Manager. Just the ballpark max number you see when the error happens.

Link to comment
Share on other sites

  • 0

Will run some tests.

 

Running Windows 8.1 64bit. 16gb RAM, 1070 8gb, i5-4690k

 

I am running these settings as recommended on EVT page (Medium Dyn settings)

 

https://i.imgur.com/6KQHXJb.jpg

 

Ok just finished running Dyn on each Dreamborne Isles worldspace. There are 4 worldspaces: Crater City, Riverhead Manor, World Axis and Dreamborne Isles. All 4 completed successfully when running them individually. Memory usage never went above 1200mb

Link to comment
Share on other sites

  • 0

That is about the same max what I see too. Which is plenty below what can be used by DynDOLOD.

If the worldspaces work by themselves we can rule out corrupt source texture files I guess. It probably is because of something in my sloppy code.

 

There is not really anything else I can think off you could test for me at the moment. I will try to do some debugging here.

 

If you also want to generate LOD for these worldspace, I suggest to first generate anew for all other worldspaces. Then install the output as usual.

Then update the existing DynDOLOD.esp keeping it in the load order while starting DynDOLOD.exe and then just select the worldspaces from Dreamborne Islands (either repeat one by one or try all 4) and then merge the new output with the existing one from the first generation overwriting all older files.

Link to comment
Share on other sites

  • 0

Hi sheson,

 

Wanted to thank you for all your help with this. And also thank you for (co)creating it in the first place - it really does improve my skyrim experience. 

 

I am running Dyn now but with the Dreamborne Isles' Worldspaces deactivated. Will let you know if the process finishes.

Link to comment
Share on other sites

  • 0

Ok so I tried it without Dreamborne Isles but I still got the error - this time Japhets Folly seemed to be the problem.

 

https://pastebin.com/kLec9U46

 

The only thing I did notice is that my Memory usage gradually increased as the process went on. It went up steadily and didn't suddenly spike. When the error message came up Dyn was using 3,100mb - is this normal?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Privacy Policy, and Terms of Use.