SimpleAudioEngine::playEffect memory leak in linux?

under

  • linux (raspberryPi)
  • libfmod (armhf)
  • cocos2d-x 3.17.2

In the measurement with the pmap command etc., the memory usage increases by about 132Kbyte for every about 18000 requests of SimpleAudioEngine::playEffect().

Since about 132Kbyte is probably the heap block size of linux malloc system(not wav size …), it seems that a small leak is accumulated, but it cannot be overtaken by which layer.

Does anyone know the cause and solution?

does valgrind tell you anything more?

Thanks for the good advice!

However, in my environment, valgrind does not progress at all even if it is executed for half a day, and useful information is not obtained.