Forums - TextureConverter leaking memory with ETC2?

2 posts / 0 new
Last post
TextureConverter leaking memory with ETC2?
c636762
Join Date: 8 Feb 13
Posts: 1
Posted: Thu, 2013-03-07 05:01

I'm using the TextureConverter library (win32) in my texture conversion tool written in C++.

Everything is just fine until I choose some of the ETC2 output formats (e.g. Q_FORMAT_ETC2_RGB8).

The function Qonvert() returns 0 (Q_SUCCESS) and the output seems OK, but my memory leak detection tool is reporting lots of memory leaks (blocks with size 128 bytes).

If I choose another format (e.g. Q_FORMAT_ETC1_RGB8) there are no memory leaks.

Is it possible that the static library "TextureConverter.lib" is leaking memory?

Is anyone else experiencing same issues?

Thank you!

EDIT:

PS: I am using the latest SDK (v3.1).

PS2: My tool is converting thousands of textures (with mipmaps) and the memory consumption is linearly growing. I am running out of the 2GB limit with my process after some time.

  • Up0
  • Down0
Dave Astle
Profile picture
Join Date: 19 Oct 12
Location: San Diego, CA
Posts: 99
Posted: Thu, 2013-03-07 08:50

We will look into it. Thanks for the heads up.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.