Memory Error

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Memory Error

Postby Jamey » Sat Aug 30, 2008 8:13 pm

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
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Memory Error

Postby Lontahv » Sat Aug 30, 2008 10:50 pm

You ran out of memory (or maybe out of harddisk space)... though the former is more likely.

How big is your blend file?
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Memory Error

Postby Grogyan » Sun Aug 31, 2008 12:33 am

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?
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: Memory Error

Postby Jamey » Sun Aug 31, 2008 7:49 am

I have 4 Gigs of RAM and the blend file is 147,839 KB
KI#46415
Jamey
 
Posts: 528
Joined: Sat Oct 20, 2007 8:32 pm
Location: Chicago, IL

Re: Memory Error

Postby Lontahv » Tue Sep 02, 2008 5:54 pm

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).
Currently getting some ink on my hands over at the Guild Of Ink-Makers (PyPRP2).
User avatar
Lontahv
Councilor of Artistic Direction
 
Posts: 1331
Joined: Wed Oct 03, 2007 2:09 pm

Re: Memory Error

Postby Aloys » Tue Sep 02, 2008 6:22 pm

Holly crap... 147 megs? :shock:
All of Ahra Pahts isn't even half of that.. Where's the "sweat and shake in fear" smiley?
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: Memory Error

Postby GPNMilano » Tue Sep 02, 2008 8:43 pm

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.
You can't stop the truth. IC Blog
User avatar
GPNMilano
 
Posts: 1155
Joined: Mon Apr 21, 2008 5:50 am

Re: Memory Error

Postby andylegate » Wed Sep 03, 2008 3:28 am

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.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: Memory Error

Postby GPNMilano » Wed Sep 03, 2008 3:55 am

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.
You can't stop the truth. IC Blog
User avatar
GPNMilano
 
Posts: 1155
Joined: Mon Apr 21, 2008 5:50 am

Re: Memory Error

Postby Jojon » Wed Sep 03, 2008 1:10 pm

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
Jojon
 
Posts: 1116
Joined: Sun Sep 30, 2007 5:49 am

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 1 guest