[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 21 09:11:06 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111077

--- Comment #46 from roland at rptd.ch <roland at rptd.ch> ---
(In reply to Marek Olšák from comment #21)
> How do I reproduce it?

Looks like the trace file is too large to be attached here. I've put the file
on my server to access: http://rptd.ch/misc/debug/deigde.trace.7z

Replaying that trace shows the problematic behavior.

With the commit reverted the trace loads very fast and memory consumption goes
up normally. With the commit not reverted loading takes long and memory
consumption jumps by 4G roughly.

Frame 0 is maybe a bit tricky to evaluate. Here the game engine does OpenGL
capability detection and and OpenGL implementation error checks. So you will
find various warnings, errors and such which only serve the purpose to figure
out if what the OpenGL claims to support is actually really supported.

Frame 2279 is where the loading takes place. This is no more detection code so
if anything is wrong in there then it's of interest.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190921/eaced399/attachment-0001.html>


More information about the dri-devel mailing list