In our build json file we have define (which comes from the player settings, I believe): "TOTAL_MEMORY": 268435456 But the index file also has a Module: { TOTAL_MEMORY: 805306368, onRuntimeInitialized: OurAppInitialized, arguments: ['-ikey', '...a48a-65ffd75bbbdf'] } Looks like the one on the index file wins. So which one should we really be using?
Specify in build settings in unity editor UI, not touch other due to possible bugs (may be fixed now, but was in past) Module: {} - "wins" .. as json reads, then module redefines all of properties, not only memory, but callbacks as you use