in reply to out of memory problem

In order of easiest/cheapest (on developer costs) to most difficult ...

Hope that helps.