OfficialIncubo/BeatDrop-Music-Visualizer

Self-Restart BeatDrop when it appears the "To free up some memory..." message

Closed this issue · 5 comments

When I resize, maximize, going to full-screen or stretch this visualizer to all monitors, it sometimes appears the "To free up some memory..." message. When I click "OK", it closes the program and it self-restarts BeatDrop!

I need the C++ algorithm which makes the program (or .exe file) self-restarted.

I actually spent a few nights tracking that bug. It come from your textures folder. too many pictures have the same name with different extension, ex: test1.jpg and test1.png = once you load one of them with a preset, it will makes beatdrop crash.

Ikr! How did you fix the bug with the loading textures? By implementing the algorithm that if the texture name is the same, then re-rolling a new texture again?

Is there a C++ code that actually restarts the same program?

don't restart the program, just remove textures with the same name or change how beatdrop load the textures

Some textures in this folder doesn't have the same name! There are some textures with same name, but also a prefix (e.g. Kaboom2.jpg, Kaboom4.jpg etc).

I have migrated my BeatDrop improvement from DX9 to DX9EX, trying to load some presets with textures again and again and....

No more "To free up some memory..." message!