mirror of https://github.com/zlatinb/muwire
perform a periodic gc() just in case, GitHub issue #59
parent
94a78bfa4e
commit
5b3416f7bb
|
@ -266,6 +266,7 @@ class H2HostCache extends HostCache {
|
|||
private synchronized void recycleSQL() {
|
||||
sql?.close()
|
||||
initSQL()
|
||||
System.gc()
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue