Skip to content

tar -vac . |ipfs tar add - out of memory #3323

@cchris-org

Description

@cchris-org

Version information:

go-ipfs version: 0.4.3-
Repo version: 4
System version: amd64/linux
Golang version: go1.7

Type:

Bug

Priority:

P4

Description:

need tar because there are some issues with file types.
whatever, tar add works fine for small files.
but a directory with large files, eat up all my memory (44GB !!) and daemon exit with out of memory.

what i did:
cd into a directory with files 600MB - ~2GB
tar -vac . |ipfs tar add

a bad idea to read the entire tar input into ram?! :(

chris.

Metadata

Metadata

Assignees

Labels

kind/bugA bug in existing code (including security flaws)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions