Memory allocation failed.
-
Sometimes the whole program stops working and displays the error screen with this message, and every time I press plus or minus the error line goes up a number. The only way to stop it is to restart the software.
-
Can you take a quick capture.
Hold down the square button for half a second on the left Joy-Con then return to the Switch home screen and go to Album - you can post the saved video to Twitter or Facebook. Then get the link and post it here. It only takes a minute to do the whole procedure.
Then we can take a look and see what the problem is.
-
I had this problem as well. Here is the video of the scenario: https://streamable.com/8jhhx
The bug is certainly interesting. Only buttons that have an effect are the +, -, and A button. Additionally, the line in which the memory allocation fails surpasses that of the edited program... -
@Aceba1 that's exactly it!
-
@Aceba1 Does this occur only with the program shown in the video? If possible, could you post the program here? (The video only shows lines 27-50.)
-
I was modifying a program to use an array of a struct instead of singular sprite to bounce around at random on a tile map. All progress on it was lost due to he bug, but I'll try to recreate it and will report back if/once I get the error again