Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

OOM when importing large directories #1736

Closed
@achingbrain

Description

@achingbrain

This call to get-folder-size can cause OOMs on large directories as the get-folder-size module keeps a list of all the files it's seen to make sure it doesn't double-count symlinked files (for example).

We only calculate the directory size to show a progress indicator - I propose we switch to an indeterminate indicator if the number of files being imported is unreasonable (say, 10k).

What do you think?

Metadata

Metadata

Assignees

Labels

P2Medium: Good to have, but can wait until someone steps upexp/wizardExtensive knowledge (implications, ramifications) requiredkind/bugA bug in existing code (including security flaws)kind/resolved-in-heliastatus/blockedUnable to be worked further until needs are metstatus/deferredConscious decision to pause or backlog

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions