perform a periodic gc() just in case, GitHub issue #59

pull/62/head
Zlatin Balevsky 2021-06-08 16:17:04 +01:00
parent 94a78bfa4e
commit 5b3416f7bb
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 0 deletions

View File

@ -266,6 +266,7 @@ class H2HostCache extends HostCache {
private synchronized void recycleSQL() {
sql?.close()
initSQL()
System.gc()
}
@Override