Blender crash in linux

Blender's renderer and external renderer export

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Tue Feb 25, 2003 2:37 pm

Blender crash in linux

Post by ideasman » Thu May 22, 2003 3:36 pm

This is a problem I have in linux when doing a large render in blender.

If my system runs out of ram (512mg of it) while rendering, My X Server crashes. I have not worked out a way to only make blender crash.

Even If I launch blender from a process that is started outside of X the problem still happens.

The only thing I can think of is a shell script that checks for free memory and If it is low then kill blender before X11 dies.

In windows only blender crashes.

Posts: 233
Joined: Sun Oct 13, 2002 7:37 pm
Location: University of Minnesota (USA)

Post by SirDude » Thu May 22, 2003 4:00 pm

Did you add swap? If so how much?
I'd suggest increasing your swap space. (adding another
swap partition, and or adding a swap file)

Posts: 239
Joined: Mon Oct 14, 2002 8:15 am
Location: Sweden

Post by Jamesk » Thu May 22, 2003 4:07 pm

You can prevent Blender from crashing itself and probably thereby X by rendering in parts - check those renderbuttons named X-parts and Y-parts: change to an appropriately high value to make Blender render your image in a bunch of segments rather than the whole thing at once. That will decrease the amount of allocated memory for each pass, and you will probably not have a crash.

For example: X-parts: 3 Y-parts: 3 = Your image will render in 9 smaller parts, which will be stitched together once they are all completed.

This works very good for me (I've only got 256 MB ram, but I've rendered huge images without crashes [close to 1 meg polys at 4K resolution]).

Posts: 0
Joined: Tue Feb 25, 2003 2:37 pm

Post by ideasman » Thu May 22, 2003 4:08 pm

Yes I have swap, I seems only to use ram. Mabe I have a mis configured system.

But cat /proc/meminfo


total: used: free: shared: buffers: cached:
Mem: 528609280 510136320 18472960 0 4538368 281350144
Swap: 213848064 12595200 201252864
MemTotal: 516220 kB
MemFree: 18040 kB
MemShared: 0 kB
Buffers: 4432 kB
Cached: 268840 kB
SwapCached: 5916 kB
Active: 258172 kB
Inactive: 219560 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 516220 kB
LowFree: 18040 kB
SwapTotal: 208836 kB
SwapFree: 196536 kB

So I must have swap, I have noticed that the swap does not fill up when rendering.

Post Reply