On Tue, Aug 13, 2013 at 10:37 PM, Art Aquino <[email protected]> wrote:
> I think I have found the problem. Python runs out of memory while parsing > the XML file that has the map information when I generate 2.5 million > cells. It looks like the cElementTree library I am using for XML parsing is > not very good for large files. I will have to find another way to parse the > XML. I found an article and I will try using that method instead. > > http://www.ibm.com/developerworks/xml/library/x-hiperfparse/ > > Why not build some gameplay in a map size that the current code supports and deffer the problem of big maps to a moment you are more familiarized with cocos ? This way you can verify if the game idea is sound before investing in infrastructure. Besides, when you are more familiarized with cocos you could see how to support loading in chunks (while this is not directly supported in cocos, you can write your own classes to support this. ) -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cocos-discuss. For more options, visit https://groups.google.com/groups/opt_out.
