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

circ.edges.afferent_edges(node_ids[0]) fills my memory #202

Open
markovg opened this issue May 4, 2023 · 2 comments
Open

circ.edges.afferent_edges(node_ids[0]) fills my memory #202

markovg opened this issue May 4, 2023 · 2 comments

Comments

@markovg
Copy link

markovg commented May 4, 2023

Calls to circ.edges.afferent_edges even for one target neuron is filling my 32GB of ram almost instantly.
image

Is this expected behaviour? What is the correct way to get synapse properties without filling memory?

@MWolfR
Copy link
Contributor

MWolfR commented May 5, 2023

I can confirm this unexpected behavior. It's not just eating up memory it is also slow.
Things do work when accessing each edge population separately:
image

But that is of course just a workaround.

@markovg
Copy link
Author

markovg commented May 5, 2023

Thanks @MWolfR for the workaround. We'll work with that for now.

The zenodo example includes the offending idiom above on the last line ... to the effect of crashing my reservation due to exceeding memory quota. Might be good to remove it for now (and e.g. replacing with the workaround) to avoid offending unsuspecting users

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

2 participants