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

perform_nni uses too much memory #13

Closed
teng-gao opened this issue Feb 9, 2022 · 2 comments
Closed

perform_nni uses too much memory #13

teng-gao opened this issue Feb 9, 2022 · 2 comments

Comments

@teng-gao
Copy link
Collaborator

teng-gao commented Feb 9, 2022

image

@teng-gao
Copy link
Collaborator Author

teng-gao commented Feb 9, 2022

Culprit:

neighbours = phangorn::nni(tree_init)
> neighbours
16858 phylogenetic trees
> neighbours
4.3 Gb

@evanbiederstedt
Copy link
Contributor

There's some issue with phangorn here: https://github.com/KlausVigo/phangorn/blob/master/R/treeRearrangement.R#L102-L145

Not sure precisely where the issue is; I was assuming it was a C error, but I'm not sure. Might be worth reaching out to the phangorn author Klaus Schliep

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