[BUG] char image extension memory leak

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • 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.

    Please login to see this attachment.

    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.

  • 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.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!