Skip to content

Niftymic killed with Docker image #25

@yuezhang9842

Description

@yuezhang9842

Dear all,

Thank you for this great package.
When I run the niftymic_reconstruct_volume, the program is always “Killed”.
I have set the memory to the maximum memory(16G + 4G swap), but still not enough. When the memory usage of container reaches 16G, the program will be "killed". I wonder how can I solve this problem?

`# niftymic_reconstruct_volume
--filenames /www/cor/T2_bias.nii.gz /www/sag/T2_bias.nii.gz /www/tra/T2_bias.nii.gz
--filenames-masks /www/cor/T2_label.nii.gz /www/sag/T2_label.nii.gz /www/tra/T2_label.nii.gz
--output /www/srr.nii.gz \


*** Configuration: ***
--- alpha: 0.015
--- alpha_first: 0.2
--- bias_field_correction: 0
--- boundary_stacks:
10
10
0
--- config: None
--- dilation_radius: 3
--- extra_frame_target: 10
--- filenames:
/www/cor/T2_bias.nii.gz
/www/sag/T2_bias.nii.gz
/www/tra/T2_bias.nii.gz
--- filenames_masks:
/www/cor/T2_label.nii.gz
/www/sag/T2_label.nii.gz
/www/tra/T2_label.nii.gz
--- intensity_correction: 1
--- interleave: 3
--- isotropic_resolution: 1
--- iter_max: 10
--- iter_max_first: 5
--- iterations: 15
--- log_config: 1
--- metric: Correlation
--- metric_radius: 10
--- multiresolution: 0
--- outlier_rejection: 1
--- output: /www/srr.nii.gz
--- reconstruction_type: TK1L2
--- reference: None
--- reference_mask: None
--- s2v_hierarchical: False
--- sda: False
--- search_angle: 45
--- shrink_factors:
3
2
1
--- sigma: 1
--- slice_thicknesses: None
--- smoothing_sigmas:
1.5
1
0
--- subfolder_motion_correction: motion_correction
--- suffix_mask: _mask
--- target_stack: None
--- threshold: 0.8
--- threshold_first: 0.5
--- transforms_history: 0
--- two_step_cycles: 3
--- use_masks_srr: 0
--- v2v_method: RegAladin
--- v2v_robust: False
--- verbose: 0
--- viewer: itksnap
--- write_motion_correction: 1

NiftyMIC version: 0.9


--- File written to '/www/config_reconstruct_volume_20220604-094944.json'.


*** Read Data ***
--- 3 input stacks read for further processing


*** Data Preprocessing ***
--- 3 stacks were loaded for data preprocessing
--- Crop stacks to their masks


*** Volume-to-Volume Registration ***
--- Volume-to-Volume Registration -- Stack 1/3
220604-09:50:09,211 nipype.interface WARNING:
version_from_command member of CommandLine was Deprecated in nipype-1.0.0 and deleted in 1.1.0
220604-09:50:09,343 nipype.interface WARNING:
version_from_command member of CommandLine was Deprecated in nipype-1.0.0 and deleted in 1.1.0
--- Volume-to-Volume Registration -- Stack 2/3
220604-09:50:47,548 nipype.interface WARNING:
version_from_command member of CommandLine was Deprecated in nipype-1.0.0 and deleted in 1.1.0
220604-09:50:47,655 nipype.interface WARNING:
version_from_command member of CommandLine was Deprecated in nipype-1.0.0 and deleted in 1.1.0
--- Volume-to-Volume Registration -- Stack 3/3
220604-09:51:32,424 nipype.interface WARNING:
version_from_command member of CommandLine was Deprecated in nipype-1.0.0 and deleted in 1.1.0
220604-09:51:32,529 nipype.interface WARNING:
version_from_command member of CommandLine was Deprecated in nipype-1.0.0 and deleted in 1.1.0


*** Intensity Correction ***
--- Stack 1 (T2_bias): Reference image. Skipped.
--- Stack 2 (T2_bias): Intensity Correction ... done (c1 = 0.908708)
--- Stack 3 (T2_bias): Intensity Correction ... done (c1 = 0.949986)


*** Reconstruction Space Generation ***
--- Isotropic reconstruction space with 1 mm resolution is created
--- Isotropic reconstruction space is centered around joint stack masks.


*** First Estimate of HR Volume ***

*** SDA Approximation Image ***
--- Chosen SDA approach: Shepard-YVV
--- Smoothing parameter sigma = [1. 1. 1.]
--- Stack 1/3
--- Stack 2/3
--- Stack 3/3
--- Required computational time: 0:00:19.953441

*** SDA Approximation Image Mask ***
--- Chosen SDA approach: Shepard-YVV
--- Smoothing parameter sigma = [1. 1. 1.]
--- Stack 1/3
--- Stack 2/3
--- Stack 3/3
--- Required computational time: 0:00:04.960164


*** Two-step S2V-Registration and SRR Reconstruction ***


*** Slice-to-Volume Registration ***
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 1/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 2/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 3/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 4/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 5/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 6/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 7/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 8/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 9/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 10/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 11/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 12/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 13/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 14/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 15/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 16/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 17/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 18/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 1/3 (T2_bias) -- Slice 19/19
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 1/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 2/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 3/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 4/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 5/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 6/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 7/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 8/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 9/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 10/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 11/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 12/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 13/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 14/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 15/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 16/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 2/3 (T2_bias) -- Slice 17/17
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 3/3 (T2_bias) -- Slice 1/21
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 3/3 (T2_bias) -- Slice 2/21
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 3/3 (T2_bias) -- Slice 3/21
--- Cycle 1/3: Slice-to-Volume Registration -- Stack 3/3 (T2_bias) -- Slice 4/21
Killed
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions