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

High memory usage during "triples" #1

Open
davidcmarkham opened this issue Jan 9, 2023 · 1 comment
Open

High memory usage during "triples" #1

davidcmarkham opened this issue Jan 9, 2023 · 1 comment
Assignees

Comments

@davidcmarkham
Copy link
Contributor

When running the algorithm as R_frontend.R, the process will slow severely and use a considerable amount of memory often resulting in a crash.

This occurs when the following line is executing:

triples <- exhaustive_search(data, labels, 3, sort(as.numeric(pairs[1,c(3,4)])), genes)

The code needs examining to check for any memory that is being allocated and not freed

@davidcmarkham davidcmarkham self-assigned this Jan 9, 2023
@davidcmarkham davidcmarkham added bug Something isn't working and removed bug Something isn't working labels Jan 9, 2023
@davidcmarkham davidcmarkham changed the title Possible memory leak during "triples" High memory usage during "triples" Jan 12, 2023
@davidcmarkham
Copy link
Contributor Author

If the "triples" is run on a system with sufficient memory (recommend 64GB or more), this will complete after a few hours. There will be ways that this could be made more efficient that should be investigated.
It's worth noting that the memory required will vary depending on the input data and which conditions are selected as stresses.

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