From e223d60eb0ed82db65f6a2388e57a9f19b559ad8 Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Mon, 3 Sep 2012 16:13:24 +0000 Subject: [PATCH] ENH: Increase the vtk factor of multiply --- invesalius/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/utils.py b/invesalius/utils.py index d833ed1..0e05b20 100755 --- a/invesalius/utils.py +++ b/invesalius/utils.py @@ -213,7 +213,7 @@ def calculate_resizing_tofitmemory(x_size,y_size,n_slices,byte): n_slices: number of slices byte: bytes allocated for each pixel sample """ - imagesize = x_size * y_size * n_slices * byte * 17 + imagesize = x_size * y_size * n_slices * byte * 28 sg = sigar.open() ram_free = sg.mem().actual_free() -- libgit2 0.21.2