Blender Git Commit Log

Git Commits -> Revision 34e7285

Revision 34e7285 by Sergey Sharybin (master)
October 11, 2015, 14:41 (GMT)
Cycles: Gracefully handle out-of-memory happening in device vector

Currently only image loading benefits of this and will give magenta color
when image manager detects it's running out of memory.

This isn't ideal solution and can't handle all cases. For example, OOM
killer might kill process before it realized it run out of memory, but
in other cases this could prevent some crashes.

Reviewers: juicyfruit, dingto

Differential Revision: https://developer.blender.org/D1502

Commit Details:

Full Hash: 34e7285b0a62e0a4daa74caecbaea2932b13c05b
Parent Commit: 27be9a2
Lines Changed: +25, -6

3 Modified Paths:

/intern/cycles/device/device_memory.h (+7, -2) (Diff)
/intern/cycles/render/image.cpp (+6, -0) (Diff)
/intern/cycles/util/util_vector.h (+12, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021