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

dopar.nn=T memory error #5

Open
brett-mckinney opened this issue May 5, 2019 · 0 comments
Open

dopar.nn=T memory error #5

brett-mckinney opened this issue May 5, 2019 · 0 comments

Comments

@brett-mckinney
Copy link
Member

For large data, npdr runs out of memory when dopar.nn=T (parallel nearest-neighbor calculation). Temporary fix is dopar.nn=F. A long-term solution may be to use big.matrix from the bigmemory library to enforce a shared-memory version of the distance matrix instead of allowing copies of the matrix to be exported to the workers.

https://stackoverflow.com/questions/31575585/shared-memory-in-parallel-foreach-in-r

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