Page MenuHome

Font cache eats huge amount of memory when using i18n fonts
Closed, InvalidPublicTO DO


--- Operating System, Graphics card ---

Ubuntu 12.10 amd64
GeForce GTX670

--- Blender version with error, and version that worked ---


--- Short description of error ---

After i18n monospace font was introduced in r55202, changing font size by crtl+wheel in the text editor increases memory usage up to ~3GiB.

i18n font: OFF ON
2.66a ~250MiB ~400MiB
r55232 250MiB-300MiB 450MiB-3GiB

The font caches shouldn't be generated for unused glyphs.
Also, unused caches should be freed immediately if possible.

Event Timeline

I thought you were involved with this? In general we don't use the bug tracker for own todo items... also if you find a bug, try to connect to the developer yourself, or solve it :)
The bug tracker is first for end-users to report issues. Developers have a lot more channels to discuss work.

I also don't understand what the bug is. By definition (here) a bug is when code doesn't do what the developer meant it to do... everything else is 'todo'.

Added this to todo list:

I'll try to solve this later.


Shinsuke Irie (irie) changed the task status from Unknown Status to Unknown Status.Mar 13 2013, 3:40 PM