Page 1 of 2

Memory Error

PostPosted: Sat Aug 30, 2008 8:13 pm
by Jamey
Hi all,

I need some help getting past a memory error in my age, I'm trying to export my age after adding a new area to my age, but I'm getting a memory error on export, even though the new area I'm adding isn't too big.

I've tried many things, multiple PRP files, decimation of objects, and Poly Reducer Scripts. But I'm still getting the error :(:(:(

Can anyone help me out?


Thanks

Re: Memory Error

PostPosted: Sat Aug 30, 2008 10:50 pm
by Lontahv
You ran out of memory (or maybe out of harddisk space)... though the former is more likely.

How big is your blend file?

Re: Memory Error

PostPosted: Sun Aug 31, 2008 12:33 am
by Grogyan
I have 2 gigabytes, and under windows I am having memory issues too from time to time, al in all I put the problem down to Microsoft

How much RAM do you have?

Re: Memory Error

PostPosted: Sun Aug 31, 2008 7:49 am
by Jamey
I have 4 Gigs of RAM and the blend file is 147,839 KB

Re: Memory Error

PostPosted: Tue Sep 02, 2008 5:54 pm
by Lontahv
Uhm... I don't think I've ever had a 147 MB blend file. :shock:

The way PyPRP works you need (much?) more memory than the age you are trying to export. Even a big age shouldn't be that big (if you import Teledahn the blend file comes out to about 30mb's or so for geometry IIRC). How many faces are there overall (use the "VE:" and "FA:" number at the top of the blender 3d window on the right when you are in Object-mode)?

If the faces are in the 6-digit numbers ya need to do something (either shrink the age or go super low-poly).

Re: Memory Error

PostPosted: Tue Sep 02, 2008 6:22 pm
by Aloys
Holly crap... 147 megs? :shock:
All of Ahra Pahts isn't even half of that.. Where's the "sweat and shake in fear" smiley?

Re: Memory Error

PostPosted: Tue Sep 02, 2008 8:43 pm
by GPNMilano
Lontahv wrote:If you import Teledahn the blend file comes out to about 30mb's or so for geometry IIRC.
Actually with the new way the importer works (or used to before importing was discontinued as a function in PyPRP), upon import textures were all packed in the blend file. As a result, just the Neighborhood_District_nb01.prp file for MOUL was like 80 megs when I imported it. And that was just that prp alone.

Jamey: You may want to check that you're files are unpacked occasionally. This will save space in your file, by clearing out any unused textures, materials, and images. This can be done in 2.46 by accessing the File Menu and choosing External Data. From the options pick Unpack into Files. A screen will pop up telling you how many files to unpack, and give you a few options. I usually just pick the first. Once Blender is finished, save your file and this will clear your blend file of any unused textures and images, and greatly reduce your blend file depending how many unused materials and textures you had sitting in the file taking up space.

Re: Memory Error

PostPosted: Wed Sep 03, 2008 3:28 am
by andylegate
I ran into a memory error too while exporting Zephyr Cove a couple of weeks ago. What caused it? I can tell you it was when I deleted the tex cache folder, as I wanted a new one.

Zephyr's blend file is about 20 mb right now. The main room prp is about 24 mb, and the texture prp is about 38 mb.

of course I've only got 1 gb of ram, but I do keep 800 mb freed up with my memory manager when I go to run things.\

:shrug:, it exported fine the 2nd time around.

Re: Memory Error

PostPosted: Wed Sep 03, 2008 3:55 am
by GPNMilano
Lontahv wrote:If the faces are in the 6-digit numbers ya need to do something (either shrink the age or go super low-poly).


And again, this is why I brought up unpacking the files. I had an age I'm working on, 42,605 faces. You know how big the blend file is. 6 megs. Reason is I make sure to unpack the age when I'm working on it. This considerably cuts down on the file size, allowing for less memory errors upon export, and still let you have a large poly count. (packed that blend file is 56 megs, unpacked its 6.7.) Once I'm done working on it for the day I just pack the file up again and save it. When I start again I unpack and viola, no memory errors, large poly count.

Re: Memory Error

PostPosted: Wed Sep 03, 2008 1:10 pm
by Jojon
andylegate wrote::shrug:, it exported fine the 2nd time around.


Ah. I suppose all that space, for the created raw data mipmaps, wasn't freed immediately after use. Should just be a matter of keeping at it, then, until all textures have been converted, should one find oneself in that situation... :7