{"action":"created","issue":{"url":"https://api.github.com/repos/aerys/minko/issues/201","labels_url":"https://api.github.com/repos/aerys/minko/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/aerys/minko/issues/201/comments","events_url":"https://api.github.com/repos/aerys/minko/issues/201/events","html_url":"https://github.com/aerys/minko/issues/201","id":58814647,"number":201,"title":"Emscripten TOTAL_MEMORY doesn't get picked up","user":{"login":"fjallraven","id":9438892,"avatar_url":"https://avatars.githubusercontent.com/u/9438892?v=3","gravatar_id":"","url":"https://api.github.com/users/fjallraven","html_url":"https://github.com/fjallraven","followers_url":"https://api.github.com/users/fjallraven/followers","following_url":"https://api.github.com/users/fjallraven/following{/other_user}","gists_url":"https://api.github.com/users/fjallraven/gists{/gist_id}","starred_url":"https://api.github.com/users/fjallraven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjallraven/subscriptions","organizations_url":"https://api.github.com/users/fjallraven/orgs","repos_url":"https://api.github.com/users/fjallraven/repos","events_url":"https://api.github.com/users/fjallraven/events{/privacy}","received_events_url":"https://api.github.com/users/fjallraven/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T22:17:58Z","updated_at":"2015-02-25T01:55:50Z","closed_at":null,"body":"Running master + emscripten 1.29.0 + Windows\r\n\r\nThis can be tested by replacing the geo in assimp example with a huge geometry file. (and removing the animation calls..... ;))\r\nError:\r\n```\r\nCannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 134217728, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.\r\n```\r\n\r\nSo I updated the emcc postbuild with -s TOTAL_MEMORY=536870912. Clean, build, but getting exactly the same error no matter what. (value always repeated)\r\n\r\nAny ideas?\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/aerys/minko/issues/comments/75890976","html_url":"https://github.com/aerys/minko/issues/201#issuecomment-75890976","issue_url":"https://api.github.com/repos/aerys/minko/issues/201","id":75890976,"user":{"login":"warrenseine","id":539804,"avatar_url":"https://avatars.githubusercontent.com/u/539804?v=3","gravatar_id":"","url":"https://api.github.com/users/warrenseine","html_url":"https://github.com/warrenseine","followers_url":"https://api.github.com/users/warrenseine/followers","following_url":"https://api.github.com/users/warrenseine/following{/other_user}","gists_url":"https://api.github.com/users/warrenseine/gists{/gist_id}","starred_url":"https://api.github.com/users/warrenseine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warrenseine/subscriptions","organizations_url":"https://api.github.com/users/warrenseine/orgs","repos_url":"https://api.github.com/users/warrenseine/repos","events_url":"https://api.github.com/users/warrenseine/events{/privacy}","received_events_url":"https://api.github.com/users/warrenseine/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T01:55:50Z","updated_at":"2015-02-25T01:55:50Z","body":"If you build with `make config=html5_release verbose=1`, do you see your change in the command line?\r\n\r\nMake sure you regenerate the solution when you change a command line parameter.\r\n\r\nNote that the new recommended way to manage memory limits is ALLOW_MEMORY_GROWTH. This will be enabled by default in Emscripten in a few days."}}