Max box size in refinement



I’m try to to refinement of virus with big box size (1200 pix). When I try scale the box above 600 pix I getting mem error.
I have 4 1080Ti and 512G RAM


this is the error:
Traceback (most recent call last):
File “cryosparc2_worker/cryosparc2_compute/”, line 78, in
File “cryosparc2_worker/cryosparc2_compute/jobs/nonuniform_refine/”, line 696, in
File “cryosparc2_worker/cryosparc2_compute/jobs/nonuniform_refine/”, line 698, in
File “cryosparc2_worker/cryosparc2_compute/jobs/local_filter/”, line 292, in
File “cryosparc2_worker/cryosparc2_compute/jobs/local_filter/”, line 361, in
File “/home/binshtem/software/cryosparc/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 1018, in conj
result = self._new_like_me(order=order)
File “/home/binshtem/software/cryosparc/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 420, in _new_like_me
allocator=self.allocator, strides=strides, order=order)
File “/home/binshtem/software/cryosparc/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/pycuda/”, line 210, in init
self.gpudata = self.allocator(self.size * self.dtype.itemsize)
MemoryError: cuMemAlloc failed: out of memory


The maximum size is ~512 or 768 px for your GPUs. Unfortunately, there is no way to reduce the Fourier padding in cryoSPARC, or I would recommend trying 1.5x or no padding instead of 2. You can try skipping padding, or using 1.5x padding in Relion GPU, or use cisTEM or Relion CPU instead.