bgfx::init allocates 130mb of memory #2503
metasprite
started this conversation in
General
Replies: 1 comment 5 replies
-
Which |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Windows x64, just cloned 6 days ago. My process skyrockets from 32mb memory usage to 163mb immediately upon the
bgfx::init
call. My renderer is very lightweight and simple, I don't see the point in allocating so much memory.I followed the advice from #1715 and changed most BGFX_CONFIG_ values, making them ridiculously low for testing purposes.
bgfx::init
still allocated 110mb - only 20mb less than before. What is this giant chunk of memory for and how do I reduce it? My application does not need anywhere near that much.Beta Was this translation helpful? Give feedback.
All reactions