Changed my. The parameters of the ini file, all useless,,,
From the top to the first picture above is the initial memory program; The second picture is performing the insert of the memory; After completion of the third picture is inserted, the storage of data structure pointer is released, the residual memory,,, is this kind of situation, a headache, so didn't insert a certain data, will increase some memory, memory, sooner or later,
CodePudding user response:
Mysql does not free memoryCodePudding user response:
You this is the program memory, not mysql memory, do not know what is your c + + is used in data access components, we this is Delphi desktop client, use firedac, his internal should be encapsulates ado or odbc, when the cursor using the server terminal, must display the closure of the data set to recover the memory, even if the data set is free the memory is not recovered at least not immediately, and don't fetch all or many records at a time, before using the cursor, if support Unidirectional using Unidirectional local data components, so no matter how much you the data set, data set memory footprint is small, almost can be ignoredCodePudding user response:
Since you say from top to bottom are program memory, that has nothing to do eye MySQL, MySQL memory, embodied in the process of MySQLIf you don't believe, can put the MySQL service stopped, the program memory ever released