FAQ: frequent error "Failed to allocate [...] EMERGENCY GC"


#1

Here’s an error you’ll often get the first time you try to run Open AT Lua:

[LUAW][MEM] Failed to allocate 8 bytes
   ********************
   *** EMERGENCY GC ***
   ********************
  (81048 -> 81029)

That’s because you tried to compile with the memory model “256KB”. Set it, in your Open AT Application’s properties, to “1MB+”. Your memory error issues should disappear.