[xwiki-devs] Reduce heap exhaustion during export operation (and partly import for now)