Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

A bad SYB traversal eats up a lot of memory #1371

Closed
@mpickering

Description

@mpickering

Observe this heap profile which was taken whilst loading the Cabal library into h-i-e.

You can see that when opening the LicenseId.hs module, something very bad happens. I'm not sure which IntervalMap gets so large but it's probably because a SYB traversal traverses into some generated definitions which it should avoid.

http://mpickering.github.io/cabal.hp.html

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions