User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Crash: Destroying and creating text objects (memory issue)

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Crash: Destroying and creating text objects (memory issue)

    A simple app I am making is every second destroying all dynamic text objects, then creating new ones. It seems they stay in memory though, because after a little while the app crashes with an Out of memory error. You'll find the crash in the automatic crash reports, as com.kjetilnossum.asot550stages.

    Would it be possible to get this fixed before friday? As I am attending at a festival and want to use this app for my own use there, hehe

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    I made a new test by replace the string objects with Active System Boxes, but still it crashes. Kinda makes me believe that was not the problem.. the app is doing nothing but destroying all objects every second and making new ones, using fastloops that loops through several stringparsers. Nothing else is going on, so memory shouldn't really be an issue here. Hopefully you understand something from the errorlog.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Can you upload your mfa for me to test? How much memory does your device have?
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Here is the mfa:

    http://klikgamer.com/downloads/asot550_6.zip
    This version is using Active System Boxes, but it was the same with String objects.

    From Wikipedia: The HTC Desire HD has 768 MB RAM and 1.5 GB of internal flash memory data storage.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Oh I forgot to say, for the app to show any content you will need to set the date to between 31st of march 20:00 and 1st of April 07:00

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I let it run for about 10-15 minutes with no crash or errors, although after about 5 the text disappears in the top two boxes.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Hm, crashes after about 30-60 secs here, text displaying all the time until the the app terminates. Did you set the date to 1st of April?
    Even if my device has less RAM than yours, it shouldn't really crash, should it? As long as it works fine during the first loops, the rest is just the same...

  8. #8
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I had to change the date before I saw any text in the top two boxes. I double checked and it has been running now for over 20 min with no crash, but I still lose the text after about 3-5 minutes.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    Hi,

    No crash here either, the same behavior after 3 a 5 min both text dissapears.

    i am attaching some pictures

    1.- correspond to the program started with the build and run option from MMF, it start the frame at 0,0

    first running from build and run.jpg

    2.- the two pictures corrspond to the behavior mentioned

    after text disappear.jpg
    started from tablet and the first minutes.jpg
    Hope it helps
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Thanks for testing!
    IT seems strange though, since the text is not programmed to dissapear unless the phone's time is earlier or later than the timeframe of the festival. So maybe you experience the bug in another way?

    Anyway, it seems the nasty bug of 'the phone crashing after the app is closed' is back again (beta 25). I closed this app before it crashed, and then when I checked my phone again it was seemingly turned off and I needed to take off the batteries. I had this problem with all apps in beta 22, but it was fixed for beta 23. This time I haven't tested if it crashes other / blank applications also.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. creating and destroying objects limit?
    By DaveC in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th September 2011, 09:52 PM
  2. [CRASH] Memory Object Runtime Crash with Allocate(
    By LB in forum Extension Development
    Replies: 8
    Last Post: 4th September 2011, 09:04 AM
  3. Fade in - out issue when destroying objects
    By AndyH in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 29th October 2010, 02:57 PM
  4. Destroying string objects
    By Corentin in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 5th March 2007, 10:37 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
  •