dissect.target
dissect.target copied to clipboard
target-fs cp leaks memory (E01 media size is 1.+ TiB)
Hey @hillar thanks for raising a issue! Can you perhaps share more details? At the moment we would be interested in:
- Python version used
- Version of Dissect installed
- Operating system used
- Size of file being copied
Feel free to add more relevant details as well!
# host machine
$ uname -a
Linux dssct.box 6.13.5-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb 27 15:07:31 UTC 2025 x86_64 GNU/Linux
# media info
$ ewfinfo image.E01
Media information
Media type: fixed disk
Is physical: yes
Write blocked: Tableau
Bytes per sector: 512
Number of sectors: 3907029168
Media size: 1.8 TiB (2000398934016 bytes)
# run python container with podman
$ podman run -ti -v ./mnt:/mnt:Z python:3.9 bash
# install as said in https://docs.dissect.tools/en/latest/install.html#install-procedure
$ pip install dissect
# simple cp
$ target-fs image.E01 cp /mnt/source/x -o /mnt/target