ludei / Construct-2-plugin

http://www.ludei.com
41 stars 35 forks source link

Memory management issue. #35

Closed TheWyrm closed 9 years ago

TheWyrm commented 9 years ago

https://www.scirra.com/forum/memory-use-huge-problem-for-large-games-on-mobile_t80220.

As a side note I also noticed that your garbage collection may not be up to scratch. When moving between layouts my games frame rate consistently dropped until it crashed.

ArcadEd commented 9 years ago

What do you need from us to get layout by layout loading fixed up? I'd be willing to make a project for testing if need be. This is the last bit to make CJS perfect. Well, perfect ish :).

TheWyrm commented 9 years ago

Hey ArcadEd, Ludei are requesting a project for testing here -> https://www.scirra.com/forum/cocoonjs-plugin-updates_t117121?start=10

ArcadEd commented 9 years ago

Ahh, ok. I can try to make something. I'd be happy to send my latest game, but I don't think it's "heavy" enough.

ArcadEd commented 9 years ago

I sent the demo app to support@ludei.com They sent me a PM on scirra asking me to send it, but didn't say where. I also updated the thread with my memory findings.

LibelulaV commented 9 years ago

I thinks this issue has been solved in the latest release, so I will close it ;). There is a post on Scirra's forum: https://www.scirra.com/forum/memory-management-with-cocoonjs_t118049 And there is another one in our blog: http://blog.ludei.com/techniques-to-optimize-memory-use-in-ludeis-canvas-environment/

Cheers ;).