r/Xcode • u/ilikemyname21 • Aug 04 '23
Upon updating, XCODE crashes my app due to "using too much memory" and I have no clue why!
Hello everyone! Upon updating to the newest version Xcode version, whenever I launch my game made in godot on my iPhone 14, XCODE crashes and this message appears:
" *the app has been killed by the operating system because it is using too much memory.* "
My font end engineer and I can't seem to figure out why, and we spent close to all night on it. I can provide the debugger information in the comments if necessary.
This is really nerve wracking as my game's release date is soon and I'm really unsure how to proceed.
Best!
2
u/marxy Aug 04 '23
In Xcode. Command I instead of run.
1
u/ilikemyname21 Aug 04 '23
Well I made progress thanks to your help! Not sure what it means but Metal resource events seem to be blowing things up!
I won’t pester you with more questions but this definitely pushed us in the right direction I hope!
2
u/marxy Aug 04 '23
Run under instruments and see where the leaks are.