User Tag List

Results 1 to 3 of 3

Thread: [BUG] char image extension memory leak

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    386
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Unhappy [BUG] char image extension memory leak

    I'm using the char image extension to get nice pixel art fonts in my game but the extension seems to have a memory leak.

    Using these events the memory usage keeps going up without any end in sight. My app starts with about 108 MB of memory used, after about 1 minute the usage stands at 600 MB. It seems to increase with over 1 MB per second. I'm now over 1300 MB!

    Disabling these two events stops this from happening.

    char-image-mem-leak.png

    Any chance this will be fixed?

    There's really no other extension that let you use nice looking pixel art fonts since Text Blitter uses fixed kerning which just looks bad in my opinion.

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,459
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)
    I'm not sure this is a memory leak, it seems this function shouldn't be used like this. Well, I don't know this object but when I look at the source code it seems this function inserts an alignment tag in the text, so if you continuously add tags the text will probably continuously grow. This doesn't seem to be a bug or memory leak.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator
    SirEatAlot's Avatar
    Join Date
    Oct 2010
    Location
    Stockholm, Sweden
    Posts
    386
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Hmm ok, not sure how they should be used in that case.. but I see your point. Will have look and see if I can come up with a solution, thanks for the reply!

Similar Threads

  1. Memory Leak in FireFly ?
    By defisym in forum Firefly
    Replies: 5
    Last Post: 8th May 2019, 09:46 AM
  2. Memory Leak?
    By Storsorgen in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th October 2013, 06:22 PM
  3. Bug - Memory leak with Sub-Apps
    By UrbanMonk in forum Hardware Accelerated Runtime
    Replies: 24
    Last Post: 22nd October 2009, 01:13 PM
  4. Memory leak?
    By Blue66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd March 2009, 10: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
  •