I try to convolve a tensor of size 1*1*101*101*101 with a kernel  of size 99*25*25 and got the following error:

RuntimeError: Torch: not enough memory: you tried to allocate 237GB. Buy new RAM

it said that the error occurred at the line F.conv3d
this is my code:
with torch.no_grad():
            psf=Variable(psf)
            test_input=Variable(testsample['tr'].unsqueeze(0).unsqueeze(1).type(torch.FloatTensor))
            test_deconv=net(test_input)+1
            test_output=F.conv3d(test_deconv, psf, padding=(49, 12, 12))

I run Pytorch 0.4.0 on Windows 10 with a RAM of 16GB and Python version is 3.6.3 anaconda