Too Big?

I get this error, btw I get no console output on Chrome. Only works on safari right now:

Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (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.

On my other apps I get Can’t Create Canvas.

Yeah.  I get the same error (halts at benchmark 25) in a few ofmy tests.  

In my case I’m purposely creating a huge number of items.  Are you also creating lots of objects?

If not, you might have a leak.  Then again, 16MB isn’t a lot of space, and I’m guessing about 1/4 to 1/2 of that is the SDK, so you may simply need more memory for your app/game.

I’m trying to get the RGMeter to work in HTML5 so I can take a peek at memory usage as it progresses.

On my other apps I get Can’t Create Canvas.

Yeah.  I get the same error (halts at benchmark 25) in a few ofmy tests.  

In my case I’m purposely creating a huge number of items.  Are you also creating lots of objects?

If not, you might have a leak.  Then again, 16MB isn’t a lot of space, and I’m guessing about 1/4 to 1/2 of that is the SDK, so you may simply need more memory for your app/game.

I’m trying to get the RGMeter to work in HTML5 so I can take a peek at memory usage as it progresses.