Commit e223d60eb0ed82db65f6a2388e57a9f19b559ad8
1 parent
4cca86b9
Exists in
master
and in
67 other branches
ENH: Increase the vtk factor of multiply
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/utils.py
@@ -213,7 +213,7 @@ def calculate_resizing_tofitmemory(x_size,y_size,n_slices,byte): | @@ -213,7 +213,7 @@ def calculate_resizing_tofitmemory(x_size,y_size,n_slices,byte): | ||
213 | n_slices: number of slices | 213 | n_slices: number of slices |
214 | byte: bytes allocated for each pixel sample | 214 | byte: bytes allocated for each pixel sample |
215 | """ | 215 | """ |
216 | - imagesize = x_size * y_size * n_slices * byte * 17 | 216 | + imagesize = x_size * y_size * n_slices * byte * 28 |
217 | 217 | ||
218 | sg = sigar.open() | 218 | sg = sigar.open() |
219 | ram_free = sg.mem().actual_free() | 219 | ram_free = sg.mem().actual_free() |