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

Potential memory leak in MBTR #91

Open
braxtonowens opened this issue Jul 19, 2022 · 2 comments
Open

Potential memory leak in MBTR #91

braxtonowens opened this issue Jul 19, 2022 · 2 comments

Comments

@braxtonowens
Copy link

Thanks for the awesome software and great documentation.

Out of curiosity, I wanted to see how well MBTR could represent a large pure grain boundary system(<10000 atoms on average).

I do not think MBTR is best suited for representing these types of systems, but nonetheless I thought it would be beneficial to see for myself.

I have 7034 unique aluminum grain boundaries stored as LAMMPS dump files. When trying to represent these as MBTRs I realized that my memory was blowing up a lot faster than anticipated.

Below is a script that represents a single grain boundary as a MBTR. Note the print statements of the (current,peak) memory and the size of my output.

I am ignorant to the exact method MBTR is calculated, is there something I am missing? Is this memory usage intentional?

Thanks.

image

@lauri-codes
Copy link
Contributor

Hi @braxtonowens!

Thanks for the report. I will look into this when I get a chance. I think the test needs to run the create-function several times and see if the memory usage goes out of control even with the garbage collection kicking in.

@braxtonowens
Copy link
Author

Just wondering about the state of this change.

Also, I thought you should know that when I try and describe materials with a large amount of atoms(~188,000), my nodes run out of available memory. Specifically, this was tested with SOAP and ACSF. I only mention this because quippy SOAP seemed to be able to handle that size.

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