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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Windows x64, just cloned 6 days ago. My process skyrockets from 32mb memory usage to 163mb immediately upon the
bgfx::initcall. 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::initstill 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