User Tag List

Results 1 to 7 of 7

Thread: Memory Leak Issues with XCode after iOS export

  1. #1
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Nov 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Memory Leak Issues with XCode after iOS export

    After exporting my game to XCode and then running it on the hardware, I notice my game runs at an unplayable frame-rate and speed. After having XCode analyze the code, 298 errors all related to memory leaks are plaguing my game. The errors themselves seem to be throughout the program and not islolated to any particular area. It is these memory leaks that causing serious slowdown in the program and I'm wondering how to fix them. I looked at the post of how to run faster games but I fear it is more a problem with how the exporter is compiling the code than anything I can fix through MMF2. Please advise if anyone has experienced simmilar problems.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jan 2009
    Posts
    1,052
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The only way Franšois/Andos can help is by sending your game file by PM.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    XCode thinks that we have memory leaks, but in fact we dont. This comes from the way it is programmed and the way XCode wants the allocation/deallocations to be done. If you run MMF in instruments, you will se that the current memory size does not increase (as compared to the <currrent> EDIT, of course I meant total memory size).
    But there might be a localised problem with your app. First thing to check : do you pile up objects undestroyed somewhere?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still I have to say that several iPhone Apps got some sort of memory leaks and are crashing - Fearie Solitaire after long time being in the background stops responding and crashes during next runtime. Planet Wars is unplayable due to crashes later on in the levels at random places.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JasonDarby's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4,938
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Well as Francois says there might be a localised problem with the apps... so good idea to see if its a particular set of code groups etc that is crashing it.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleSWF Export ModuleXNA Export Module
    colej_uk's Avatar
    Join Date
    Nov 2006
    Location
    UK
    Posts
    739
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I'm going to be working on an update to stop those freezes on planet wars in the coming weeks after doing some XNA stuff. They happen the most when a lot of action is happening.

  7. #7
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, ┼rhus
    Posts
    3,458
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    Sorry for replying this late in the thread (I've been on holiday).

    If you believe you have a game that leaks memory and/or crashes after a while, please send them to me so I can profile them properly and find the leak/cause.
    All the games I've profiled so far did not leak any memory but there might be a slight chance that your game does something we have not profiled before.

Similar Threads

  1. Memory Leak?
    By Storsorgen in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th October 2013, 05:22 PM
  2. Memory leak fixed Ini++ v1.5
    By Jax in forum Released Extensions
    Replies: 8
    Last Post: 28th July 2013, 05:34 AM
  3. Bug - Memory leak with Sub-Apps
    By UrbanMonk in forum Hardware Accelerated Runtime
    Replies: 24
    Last Post: 22nd October 2009, 12:13 PM
  4. Memory leak?
    By Blue66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd March 2009, 09:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •