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

Memory leak when reading mat files v7 #182

Open
ymtoo opened this issue Mar 3, 2023 · 0 comments
Open

Memory leak when reading mat files v7 #182

ymtoo opened this issue Mar 3, 2023 · 0 comments

Comments

@ymtoo
Copy link

ymtoo commented Mar 3, 2023

MWE:

for _ ∈  1:1000000
    matread("test/v7/array.mat")
end

Memory usage is growing until OOM. It works fine when reading mat files v6 and v7.3.

Julia and package version:

julia> versioninfo()
Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
  Threads: 1 on 8 virtual cores

(jl_Qk9Uql) pkg> st
Status `/tmp/jl_Qk9Uql/Project.toml`
  [23992714] MAT v0.10.3
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