User Tag List

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

Thread: Memory issues...

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Oct 2007
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Memory issues...

    Okay, so... Maybe I'm getting over-ambitious. I've created a game which is extremely large, full of pre-rendered graphics at fairly high resolutions, and... TGF2 started glitching, and then I started getting "out of memory" errors.

    I've been able to forestall this happening again by downgrading the graphics from the highest color settings to 65,000-odd colors, but I have a bad feeling that I'm about to hit the upper limit again. Is there anything simple and obvious that I'm missing to head the problem off?

    My system has 3 GB of RAM, so I'm reasonably certain that it's a TGF problem more than a system problem (the file is big, but not *that* big.)

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Memory issues...

    Does your game contain lots of images? I think the maximal number of images that TGF2 can handle is 65534, so if your application uses more images you'll run into issues.

    Otherwise I've already seen MFA files larger than 500 Mb so the size shouldn't be a problem.

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Oct 2007
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory issues...

    Hmm. It does have a fair number of images in the form of active object frames, but I don't think it has *that* many. But the file size is already over 570 MB.

    Is there a way to have different applications in TGF2 open other applications and then self-terminate? It might be one way to deal with the problem.

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Memory issues...

    Yes, you can use a Run External Program action (there is one in the Special object and another one in the File object) and then a End Application to self-terminate.

    You can also use a sub-application object to load CCN files.

  5. #5
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory issues...

    Are you sure your computer isnt running out of memory?

  6. #6
    No Products Registered

    Join Date
    Jul 2010
    Location
    Australia
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory issues...

    Personally, i think its a problem with TGF2.
    I used to use TGF2, but it started slowing down, glitching and occaisonally just terminating my application for no reason.
    My advice? Upgrade to MMF2 -- you'll be glad you did.

  7. #7
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory issues...

    I don't think it is TGF, since MMF and TGF have the same base. If your program is terminating it is either the coding or the settings that are set up wrong in the properties.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory issues...

    For larger projects I always just split the frames up into smaller projects and work on it a frame at a time.

    After you're done drop it back into the larger project and test.

  9. #9
    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)

    Re: Memory issues...

    Are you running the latest build of TGF2 (Help | About).

  10. #10
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Oct 2007
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Memory issues...

    Quote Originally Posted by uprize
    Are you sure your computer isnt running out of memory?
    The program starts glitching around 590 MB. My computer has 3 GB. Admittedly the file is compressed, TGF2 is running, and so forth, but it doesn't seem likely that it's the computer that's reaching its limit.

    Quote Originally Posted by BAugustus
    Personally, i think its a problem with TGF2.
    I used to use TGF2, but it started slowing down, glitching and occaisonally just terminating my application for no reason.
    My advice? Upgrade to MMF2 -- you'll be glad you did.
    I may... If the final product sells.

    Quote Originally Posted by nivram
    I don't think it is TGF, since MMF and TGF have the same base. If your program is terminating it is either the coding or the settings that are set up wrong in the properties.

    Marv
    Unfortunately, it's not the application I'm creating in TGF that's gltiching; it's TGF itself. Around the 600 MB mark (give or take) copy and paste stop working... And it becomes impossible to save... And eventually, one way or another, a little window pops up saying "out of memory".

    Up until that point, the app itself works fine. I'm not the most agile coder on the planet, but it's functional.

    Quote Originally Posted by UrbanMonk
    For larger projects I always just split the frames up into smaller projects and work on it a frame at a time.

    After you're done drop it back into the larger project and test.
    I've considered that, but I'm heading towards making it into a small number of discrete applications as the most workable contingency. If it tends to blow up in development, even if it doesn't immediately mishandle when all the pieces are assembled separately and then combined, I'm still putting a lot of faith in the idea that it won't subsequently cause crashes on someone else's system (especially if theirs doesn't have as much memory as mine.)

    I may try the "assemble separately and then combine" tactic later just out of curiosity, though.

    Quote Originally Posted by JasonDarby
    Are you running the latest build of TGF2 (Help | About).
    I am.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Memory Leak Issues with XCode after iOS export
    By daredev in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 30th November 2011, 07:02 AM
  2. Memory Object - Additional Memory Types
    By Cudmuffin in forum Extension Development
    Replies: 0
    Last Post: 22nd November 2011, 11:43 AM
  3. Memory Object - Deallocate Memory??
    By LB in forum Extension Development
    Replies: 1
    Last Post: 1st June 2011, 10:26 PM
  4. Extreme memory issues.
    By konjak in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 20th March 2007, 02:47 PM

Posting Permissions

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