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 issue when running the cnmfe and estimates.F_dff #1297

Closed
zhouyi0812 opened this issue Mar 12, 2024 · 6 comments
Closed

Memory issue when running the cnmfe and estimates.F_dff #1297

zhouyi0812 opened this issue Mar 12, 2024 · 6 comments

Comments

@zhouyi0812
Copy link

zhouyi0812 commented Mar 12, 2024

Hello!

My computer C drive currently have 600G free space and 128 memory. But I have different memory error.

First, when I run cnmfe without downsampling the memory error says require 200-900 GB. But it used to work well without downsampling
image

Second, when I downsampling my tsub=2, things work fine. But when I run estimates.F_dff, it has another memory error:
image
image
image
image

Here are the steps I have tried from the similar question:

  1. Enabling Swapping: after restart it seems doesn't work
    image

  2. Adjust the n_process: Seems doesn't work either as I change from 10, 15 to none (24)

  3. caimanmanager diagnose
    Screenshot 2024-03-12 114157

Thank you very much for your help!

@EricThomson
Copy link
Contributor

Hi it looks like you are not using the most recent version of Caiman (1.10.4). Could you please update and try again?

@zhouyi0812
Copy link
Author

may I ask how should I update if I am in the mescore environment?
Thank you!

@EricThomson
Copy link
Contributor

Within your environment, conda update caiman -c conda-forge

@zhouyi0812
Copy link
Author

Thank you!!
I updated with the code, but it still memory error
image

@EricThomson
Copy link
Contributor

Looks like you should probably downsample (as you originally tried), and if the results suffer then go to online algorithm.

@EricThomson
Copy link
Contributor

EricThomson commented Mar 20, 2024

I added more detailed discussion of handling memory in the demo notebook (in PR #1300 ). It gives a more clear roadmap of what you should do, and I added a discussion of subsampling. I'm closing this for now, but @zhouyi0812 feel free to open if this isn't enough info.

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

No branches or pull requests

2 participants