Answer the question
In order to leave comments, you need to log in
When you start the application or when saving, it gives an error that "there is not enough memory to continue executing the program"?
when starting the application or when saving it, it gives an error that "there is not enough memory to continue executing the program." what to do in this case? I have a lot of pictures in the application, maybe because of this?
the entire folder with the application weighs 132 MB, and specifically the program (bin \ debug) weighs 30 MB
Answer the question
In order to leave comments, you need to log in
The task manager is lying, you have even less memory. There are 62 MB of swap left, that is, if the program asks for more to unpack the picture, then a fail will happen, and languages with gc reserve memory in large blocks. Pictures eat a little more than 4 bytes per pixel, gifs are also for each frame, here you can count how much memory it is. What to do? The correct option will fork out for memory, the issue price for Ali is about 1500 rubles. Incorrect, tighten the belt tighter. Increase the swap, switch to 32-bit Windows, crash discord and other gluttonous applications and unnecessary services. As a last resort, code in a lightweight editor, and debug in the old fashioned way, outputting information to the log.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question