<div dir="ltr"><div>Hi Maik,</div><div><br></div>You want mean same problem with sqlite ?<div><br></div><div>Yes, we have plenty of bugs about this topic, for ex for Similarity, face, and thumbnails databases operation.</div><div>This mangle the memory and finally, for computer with small memory, crash the application violently.</div><div>If we can fix this problem, this will be a big step.</div><div><br></div><div>As my computer has plenty of memory, the problem is difficult to reproduce. I need to make a dedicated VM to test your patch.</div><div><br></div><div>So the problem is not to group transactions to prevent a bloating state with DB ? Fo rex, i know that thumbs registration is very verboze with the db and slow down the interface step by step, especially with remote DB. Right ?</div><div><br></div><div>Anyway, it's fine for me to introduce the patch for 5.9.0.</div><div><br></div><div>Gilles</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-17 9:46 GMT+01:00 Maik Qualmann <span dir="ltr"><<a href="mailto:metzpinguin@gmail.com" target="_blank">metzpinguin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Makes problems with SQLite...<br>
<span class="HOEnZb"><font color="#888888"><br>
Maik<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
Am Sonntag, 17. Dezember 2017, 09:39:06 CET schrieb Maik Qualmann:<br>
> Hi,<br>
><br>
> we have a problem with some database operations (MySQL) with too many open<br>
> connections established. For example, recognize faces. Because<br>
> QThreadStorage deletes the thread data when the thread is exit and thus<br>
> also closes the DB, the DB is opened again at the next DB action. To test<br>
> the patch extensively, I think only to commit for digiKam 5.9.0.<br>
><br>
> Maik<br>
</div></div></blockquote></div><br></div>