I am trying to port a game which uses Scaleform VM to Emscripten.
Currently on OS X, running on XCode with only scaleform shows about 41MB usage (Reported by scaleform profiler)
After converting to JS using emscripten,it shows about 600MB-1GB on Activity Monitor. I built emscripten with a memory limit of 64MB and the same amount of memory (64MB) is shown by the emscripten memory profiler.
There is a huge difference in the memory as shown by the activity monitor as compared to the allocated memory reported by emscripten.
Any pointers on why this might be happening or where to start looking at this issue?
I am trying to port a game which uses Scaleform VM to Emscripten.
Currently on OS X, running on XCode with only scaleform shows about 41MB usage (Reported by scaleform profiler)
After converting to JS using emscripten,it shows about 600MB-1GB on Activity Monitor. I built emscripten with a memory limit of 64MB and the same amount of memory (64MB) is shown by the emscripten memory profiler.
There is a huge difference in the memory as shown by the activity monitor as compared to the allocated memory reported by emscripten.