mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Mass_parse: Clear all mem when ns changes else outofmemory error
This commit is contained in:
@@ -111,7 +111,7 @@ public class Xomp_parse_wkr implements Gfo_invk {
|
||||
// if ns changed and prv_ns is main
|
||||
if (cur_ns != prv_ns) {
|
||||
if (prv_ns == gplx.xowa.wikis.nss.Xow_ns_.Tid__main)
|
||||
wiki.Cache_mgr().Free_mem__wbase(); // NOTE: clears page and wbase cache only; needed else OutOfMemory error for en.w in 25th hour; DATE:2017-01-07
|
||||
wiki.Cache_mgr().Free_mem__all(); // NOTE: clears page and wbase cache only; needed else OutOfMemory error for en.w in 25th hour; DATE:2017-01-07
|
||||
prv_ns = cur_ns;
|
||||
}
|
||||
Xoae_page wpg = Xoae_page.New(wiki, ttl);
|
||||
|
||||
Reference in New Issue
Block a user