-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High RAM usage while resizing with DX11 #6374
Comments
I saw that the memory was used only when we were changing the size, when we hold the mouse button but don't move, it stays at the point it was before, only when we are currently resizing the window, it goes up very fast. Is there a Vec2 buffer with all the old positions of the window until the button is released ? |
This only bugs using DX11; I just tried with DX12 and it does not consume more memory. |
I have pushed a workaround for this in 031e152 |
Well done, it was a bit annoying that it was using that much ram... |
When resizing the window, the render stops, which is surely normal but when looking in VS to the process memory, after about 10seconds of resizing, it uses up to 20GB of RAM ! I'm using win32 with DX11, the default file.
Dear ImGui 1.89.6 WIP
Version/Branch of Dear ImGui:
Version: 1.19.6
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_win32.cpp + imgui_impl_dx11.cpp
Compiler: MSVC
Operating System: Windows 11
My Issue/Question:
Is this normal ?
Screenshots/Video
Standalone, minimal, complete and verifiable example: (see #2261)
The text was updated successfully, but these errors were encountered: