Skip to content

Possible memory leak issue #67

@j-mie6

Description

@j-mie6

I have a set of benchmarks of the form:

[ env (pure veryLargeData (\data -> bench ... (nf g data)
, env (pure largeData) (\data -> bgroup "second" [bench ... (nf f1 data), bench ... (nf f2 data), etc]
, env (pure otherData) (... same f1..fn as above)

What I'm seeing is that if I have all these benchmarks on, my RAM usage is significantly higher in total. Here are the stats:

  • just the first benchmark on its own: 7.6GB peak memory
  • just the second benchmark on its own: 5.2GB peak memory
  • just the third benchmark on its own: 20MB peak memory

Now for the fun bit:

  • the second and then the third together: 5.2GB peak then 6.9GB peak for the second set (!?!?!)
  • all three together 7.6GB peak, 9.5GB peak, 14GB peak (!!!!)

Any ideas what this could be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions