<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 10, 2017 at 9:18 AM, Gabriel Ortiz Lour <span dir="ltr"><<a href="mailto:ortiz.admin@gmail.com" target="_blank">ortiz.admin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>  We are experiencing problems with leaks on our system and we think is astDB related.</div><div>  I'm still using 1.8, migrating to 13, but for now i'd like to do something like an astDB "restart". Close the database and open again...</div><div><br></div><div>  I'd like just a pointer to where start:</div><div>  Where should I look on the source for astDB init/shutdown?</div></div></blockquote><div><br></div><div>Look in main/db.c.  IIRC we switched from Berkley DB to sqlite3 for the astDB<br></div><div>backend because of issues like memory leaks.<br><br></div><div>You could also simply do a CLI "core restart now" in the middle of the night.<br></div><div><br></div><div>Richard<br></div></div><br></div></div>