Out of memory with C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Out of memory with C#

Im creating a game in C# using Visual Studio but for an unknown reason i cant run the program anymore it gives me the error OutOfMemory is there any fix a can do or is there a better platform to creat a game in C#? Thank you in advance.

15th Mar 2017, 4:14 PM
Samuel Maisonneuve
Samuel Maisonneuve - avatar
2 Answers
0
Visual Studio is great you do not need to switch to another ide. Debug your program, search for what could possibly cause RAM to run out of memory. For example infinite loop where you create variable over and over again. Search for that little scumbag and fix it ^^ Also you may find this helpful: stackoverflow.com/questions/8563933/c-sharp-out-of-memory-exception
15th Mar 2017, 5:50 PM
Jakub Stasiak
Jakub Stasiak - avatar
0
thank you for your advice i'll look for that mistake :)
17th Mar 2017, 4:23 AM
Samuel Maisonneuve
Samuel Maisonneuve - avatar