Wednesday, February 15, 2012
Memory Leaks
Memory leaks are such hassles. They are both hard to locate, and difficult to program your way out of. I'm pretty sure I know where mine is, but I am not sure how to fix it. Everything I've learned about this language would indicate that it's not a solvable issue immediately. I've got some ideas about how to minimize it, but Javascript has a habit of just throwing new problems into new threads, with very little access or control available to the parent thread. Potential result of fixing the issue? Frames rendering out of order. Potential issue of not fixing it? Having the game crash on weaker systems after extended periods of play. Potential fix of not fixing: lots of itty bitty mini levels that don't have enough time to build up any sort of memory leak problems.... I could also learn everything there is to know about different run time environments and optimized for each....... but I don't have enough time to do that between now and Sunday night.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment