Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node mriqc.interfaces.functional.Spikes is a memory hog #1350

Open
oesteban opened this issue Aug 27, 2024 · 0 comments
Open

Node mriqc.interfaces.functional.Spikes is a memory hog #1350

oesteban opened this issue Aug 27, 2024 · 0 comments

Comments

@oesteban
Copy link
Member

This node in the workflow

spikes_bg = pe.MapNode(
Spikes(no_zscore=True, detrend=False),
name='SpikesFinderBgMask',
mem_gb=mem_gb * 2.5,
iterfield=['in_file', 'in_mask'],
)
often causes memory errors.

In a quick review, I believe casting here

func_data = func_nii.get_fdata()
to float32 would be safe and have zero effects on the interface performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant