Blender Memory Management

As a retired software engineer I must say…

Blender seems to waste a lot of memory.

(Windows 10. Blender 3.3.5. Eevee.)

For example, I recently rendered an animation, and Task Manager said I was using about 2 Gigs of RAM. Then, after I did chores around the house, I re-opened the project, made 1 location change of a Very minor object, saved and rendered. Task Manager said 4.5 gigs.
I closed the project, re-opened it and rendered again. Back to 2 gigs.

Somethin’ ain’t right.

As a retired software engineer, you should know that posting about something like that in a forum has roughly the same effect as telling it to the front wall of your house…

2 Likes

OK then, consider me a humble Blender user (who at one point of life, had to write code that would run on DOS 6).

Consider the user. Please. (I did).

To be clear, I mean that in a very snarky way. You know very well, that this kind of report is completely useless. At the very least, you should explain what you have changed in the scene, whether there is something special, … . Do you run scripts which may create assets?
From what you wrote, it is not clear whether you are actually looking for help or if you want to complain a little. If you actually interested to find out whether this is a Blender issue, you should clearly share some information.

I did explain exactly what I did:

“Back in my day…” programmers cared. (Yes I’m complaining…hoping someone on the dev staff will take notice… and initiative)

They will take notice if you report a bug.

2 Likes

Thank you for your insight.

Oh… the stories I could tell would make your hair curl.

Do you have the skills to look into it? They could surely use help in optimisation.

I know C, C++ and Python , which I believe would be the core .

Sadly, my tools (MS Visual Studio) are obsolete.

Would gladly help in any way I can.

That’s fantastic! I’m not sure, but I think VS Code is the most popular IDE on any platform nowadays. Besides that I only think knowledge of git is a must.

Since Blender is open source, most of the development also happens in the open. There’s many places you can check out:

Blender is a huge project, but even just informing devs how optimisations can be made in principle or pseudo-code could prove very helpful.

Thank you and good luck!

"“git”? Do you mean the repository? If yes, I’ll start looking at code soon.

If it’s something else… well, as a friend of mine used to say “If I can find it on Google… then consider me an expert!”

May I message you direct, or stay in the forum for now? Maybe we’ will build a thread that other aspiring devs would find interesting…

Cal

1 Like

Git is the version control system. It allows you to work together with others easily when making changes, but it requires a little bit of training to get used to. Notable platforms that use git are GitHub, Gitea (pronounced gih-tee) and GitLab.

You can message me or keep posting here, I’m not sure this thread will become that useful, but who knows!

There’s many other informative threads and better suited people out there, so don’t worry, most of us are friendly.

1 Like

I recently wrote a post about how much I love to code, and that I was entertaining myself (between Blender projects of course) by writing simple HTML / JS, that I run locally (no 'Net required).

I hope I can be useful to the team, and I will compose a quick self-introduction on the forum soon. I was going to mention that you had been the inspiration for me to get involved. But I noticed that your BA profile is set to “Hidden”. I just want to make sure that you are OK with me including you in my saga. :wink:

Thanks for suggesting this… and we’ll see how it goes.

1 Like

Of course, no problem!

1 Like

YIKES!

I cloned the code this morning and started by searching for the text “alloc”.

26,000+ hits.

I’ll have it all figured out by … what year is this? :rofl: :rofl: :rofl: :rofl: :rofl: :rofl:

Oh well, I asked for it, and will continue to research. :crossed_fingers:

(I will never understand why I find this so enjoyable, but I do. I’m a Virgo, maybe that’s it…)

Cal

2 Likes

Have you considered they might allocate memory blocks? I vaguely remember having read something about it in the context with Blender, but could be totally wrong about it.
If they did, it could be that you see the memory increasing for the first few times you are rendering (each time with a minimal change), but at one point the memory usage might drop down.

Thanks. I got this.

Did you have a look at already reported issue, like this one?

To reiterate:

This is the cause of my quest.

But, again, thank you for your input.

Cal

Hi. Are you on the dev forum?

If not here’s my progress with them…

https://devtalk.blender.org/t/building-my-mental-picture-of-blender/29795/5

Thanks for inspiring me to do this. Lovin’ every minute!

Cal

2 Likes