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

using_spinedb leaks memory? #79

Open
manuelma opened this issue Feb 17, 2022 · 2 comments
Open

using_spinedb leaks memory? #79

manuelma opened this issue Feb 17, 2022 · 2 comments
Assignees

Comments

@manuelma
Copy link
Collaborator

julia> A = []
Any[]

julia> for i in 1:1000
           mem_ratio = Sys.free_memory() / Sys.total_memory()
           push!(A, mem_ratio)
           using_spinedb(url)
       end

julia> plot(A)

myplot

@manuelma manuelma self-assigned this Feb 17, 2022
@DillonJ
Copy link
Contributor

DillonJ commented Feb 17, 2022

Very interesting - nice test - I guess the amount being leaked is more what is required to store mem_ratio :-) Any ideas what the cause is?

@manuelma
Copy link
Collaborator Author

I had the same thought and tried just storing the mem ratio without calling using_spinedb and the curve was flat.

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