Re:A HTML5 game that crashes every browser - browser makers,...
by dlikhten on Tuesday October 25, 2011 @08:42AM
(#3153841)
I think this quote said it best. I was told this when I started programming... "Don't blame the JVM immediately, there is a very high probability this is just a bug you made, probably some race condition. After all possibilities are exhausted then blame the JVM, you are not even close to that." And there you go. Modify to suit your needs. If every browser crashes, I bet you either has a major bug or found a flaw in a core mathematical component each browser relies on, in either case that flaw must be worked around. So in both cases its on your shoulders.
Re:A HTML5 game that crashes every browser - browser makers,...
by AshleysBrain on Tuesday October 25, 2011 @08:17AM
(#3153773)
Chrome's developer tools never show the memory going above 30mb during the entire game. It's using a heavily optimised engine that creates very little garbage and rarely makes allocations in JS. So the issue appears to be in the browser.
nookie here mentions memory use, so why don't you use the profiler in Chrome's web developer tools to find the memory leak (assuming there is a memory leak, as nookie implies). I believe they have some tools to help you in that regard.