Solved memory leak by using loaddatawithbaseurl, so no init file transfers here.