memory issue with mysql C API in visual .NET
Hello, im am writing a software to test out mysql in C.
This program reads from a mysql database and writes to a different mysql database.
The program works great except that when i check out the memory use in windows task manager, the mem use just keep on raising.
It starts on 3200 Kb and just keep on going as the program continues.
I use mysql_free_result on every result call after im finnished with using it, and i keep two mysql connections open at all time (one for each database)
I need to keep the mem stabile, any idea on whats eating up the memory?
The program is written as a win32 console in visual .NET using C as language.
Oh, and another funny thing is that when i minimize the console window when the program is active, it actually reduces the mem usage to 68kb, and start to build up again.
So it seems that the memory is flushed at minimizing, but it stills keep on rising.
and i use _flushall() a couple of times in the program as well.
Any hints are welcome, thank you
Subject
Written By
Posted
memory issue with mysql C API in visual .NET
April 06, 2005 06:48PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.