[2.2.13] Abnormal memory usage with rotating scaled sprites?
Something I have noticed between Software & OpenGL is that the memory usage... though I am going based off task manager's memory usage for the game. There's like... a big difference between the two renders and I figure I give it a post out of curiosity to see if something is up.
In this video I am using an addon called "Half-Life Scientist Character Pack!" as this character pack has rescaled sprites and their res is 384x384. I am also using Momentum since it allows you to rotate your character when holding jump in the air after bouncing off a spring.
HL2 Scientist Pack:
https://mb.srb2.org/threads/half-life-scientist-character-pack.29794/
Xmom:
https://mb.srb2.org/addons/v1-3-crossmomentum-a-complete-gameplay-overhaul.1371/
Here is a video doing a test between Software & OpenGL. It might be difficult to see the usage since I had to compress the video heavily but some things to note.
Before 1:24 is Software. After 1:24 is OpenGL. When the memory reaches... prob 1.5GB it gets cleared though it only reaches that high in OpenGL.
Video:
Something else I wish to point out when the memory clears... this happens for 1 frame.
Now... I am adding a file that a user made to test something which creates afterimages when using rollangle. I tried this in Software and the highest usage I saw was about 800mb+ but... with OpenGL... that's a different story.
File:
(I have permission from the author to post it here.)
Video:
This in turn will crash the game with a "Out of memory" error after awhile, prob due to all the angles? No RPT file is given when this happens.