Path: csiph.com!news.mixmin.net!news.albasani.net!news.gnuher.de!news.enyo.de!.POSTED!not-for-mail From: Florian Weimer Newsgroups: comp.lang.java.programmer Subject: Re: Not closing connections and statements Date: Sat, 13 Aug 2016 16:33:51 +0200 Lines: 9 Message-ID: <877fbkspps.fsf@mid.deneb.enyo.de> References: <87shuakxjq.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain X-Trace: news.enyo.de 1471098831 1125 192.168.18.20 (13 Aug 2016 14:33:51 GMT) X-Complaints-To: news@enyo.de Cancel-Lock: sha1:RnHj7pJX/FO4BaICf1ZPO4jJvmU= Xref: csiph.com comp.lang.java.programmer:35305 * Cecil Westerhof: > At the moment I am writing a general function to log memory usage to a > SQLite database to be used by different applications. How bad would it > be if a program would exit without cleanly closing the connection and > statement? Is the application long-running? How many statement objects do you expect to leak this way?