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.
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)
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]).
_________________eXo.Entity - the movie-in-progress-project
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.