Quote Originally Posted by wysota View Post
Of course you shouldn't be closing a connection with an active query and you will get a warning on the console when doing so. You should clear all the queries and only then close the database connection.
In this case I don't get any warning in my console. I'm only observing growing memory usage ('top' command), which disappears when I clean before closing. I'll think I need to learn more about using database in QT. I've got some questions about that problem but I'll search for answers in thread more connected with databases. Thanks!

best regards
Tomasz