Memory Leaks
Posted: 25.05.2009, 13:33
Hi Everyone,
I have an FPC / Lazarus application that frequently inserts data into a SQLite3 database. I have noted that when running threads that inserts the data into the database, memory usage of the application increases significantly, but when not executing the queries, memory usage remains stable. Clearly I have checked that all relevant object are freed and so on, but it seems it 'might' be related to the ZEOS database components. Has anyone else noticed this behavior and is there a work around? Running the heap trace utility available in FPC compiler also reveals several ZEOS classes in the output, though I must admin I am no expert in interpreting this!
Kind Regards.
I have an FPC / Lazarus application that frequently inserts data into a SQLite3 database. I have noted that when running threads that inserts the data into the database, memory usage of the application increases significantly, but when not executing the queries, memory usage remains stable. Clearly I have checked that all relevant object are freed and so on, but it seems it 'might' be related to the ZEOS database components. Has anyone else noticed this behavior and is there a work around? Running the heap trace utility available in FPC compiler also reveals several ZEOS classes in the output, though I must admin I am no expert in interpreting this!
Kind Regards.