Memory Leak Detected in TMSFNCCloudAIDataSet (v1.5.0.0)

Hello,

I'm currently evaluating your TMSFNCCloudAIDataSet component, which I find very promising. However, during testing I encountered memory leaks when using it.

Here is the leak report:

Unexpected Memory Leak

Q An unexpected memory leak has occurred. The unexpected small
block leaks are:

13 - 20 bytes: Unknown x 4  
21 - 28 bytes: UnicodeString x 4  
29 - 36 bytes: UnicodeString x 2  
37 - 44 bytes: UnicodeString x 2, Unknown x 4  
69 - 76 bytes: TStringList x 4  

Environment details:

  • Delphi 12.3 (Win32 target)
  • TMSFNCCloudAI version 1.5.0.0 (in IDE) but TMS FNC Cloud Pack 3.6.3.1 and FNC core 4.2.1.1

There is no such a problem with TMSFNCCloudAIFileSystem

Could you please advise whether this is a known issue and if there’s a fix or workaround?

Best regards,

I retested this here and used a couple of prompts invoking the TMSFNCCloudAIDataSet component but it did not cause any memory leaks here.
Is this in connection with specific operations and if so, do you have details how we can reproduce the memory leak here?

My colleague @Pieter helped me to identify the cause and a fix was applied. Next update will address this.

1 Like