out of memory exception

exception happens after downloading packs from internet several times. The packs are assigned to the same variable. anytime there is only one pack in the memory.