allocate 4GB memory