Unknown Memory Allocator?

Unknown Memory Allocator?

Anonymous
Not applicable
1,071 Views
4 Replies
Message 1 of 5

Unknown Memory Allocator?

Anonymous
Not applicable

Integrating the Arnold Render engine in blender, I get this strange warning, any ideas how to get around this?

00:00:00   326MB WARNING | detected unknown memory allocator loaded from "/ho
me/furby/Blender/blender".  This might not be compatible with arnold and migh
t result in performance regressions, increased memory usage, and crashes! If 
it must be used, please contact [email protected] so we can put th
is allocator on the approved list
0 Likes
Accepted solutions (1)
1,072 Views
4 Replies
Replies (4)
Message 2 of 5

Stephen.Blair
Community Manager
Community Manager
Accepted solution

That means Arnold suspects that Blender is using a custom memory allocator. If you're not getting any crashes, it's probably safe, but we'd to know more about the custom memory allocator.



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 5

Anonymous
Not applicable

Thanks for the quick reply, I'll ask the devs to see if they know more about it.

0 Likes
Message 4 of 5

Anonymous
Not applicable

Blender uses a custom memory allocator called "guardedalloc". The sources are all here: https://developer.blender.org/diffusion/B/browse/master/intern/guardedalloc/

Calls like `MEM_mallocN`, `MEM_callocN`, etc are being used almost everywhere, they do wrapping stuff for malloc, calloc, etc.

0 Likes
Message 5 of 5

Stephen.Blair
Community Manager
Community Manager

Hi @Tyler Furreboe I'm surprised this has not come up before. Or is there a way to run Blender without a custom memory allocator?



// Stephen Blair
// Arnold Renderer Support
0 Likes