Re: How to optimise memory consumption