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

Memory usage increases substantially after unrolling the sequence, when starting the acquisition. #64

Open
LUMC-LowFieldMRI opened this issue Mar 27, 2024 · 1 comment · May be fixed by #79

Comments

@LUMC-LowFieldMRI
Copy link
Collaborator

It looks like a copy of the unrolled sequence is created when the acquisition is started leading to excessive memory consumption.

@schote
Copy link
Owner

schote commented Apr 26, 2024

The sequence provider calculates the sequence block-wise and returns a list of numpy arrays.
In the current implementation, this list is concatenated before the sequence execution to obtain a single but very large numpy array. If I remember correctly, this step causes the increase in memory.
However, as part of the optimization of the sequence execution, we plan to start the sequence execution already during the sequence calculation (see #52). This requires to transfer the sequence data block-wise to the spectrum-card what potentially eliminates the problem of increasing memory.

@schote schote linked a pull request Mar 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

2 participants