Package: dcfldd
Version: 1.9-1
Severity: important
Tags: upstream
X-Debbugs-Cc: David Polverari <david.polver...@gmail.com>

This bug was taken from dcfldd project[1].

[1] https://github.com/resurrecting-open-source-projects/dcfldd/issues/16

Out of memory: Killed process 9737 (dcfldd-v1.9) total-vm:847432kB,
anon-rss:844620kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:1696kB
oom_score_adj:0

Prepare:

swapoff -a  # Just for a faster OOM
fallocate -l 10G test.dd  #create bigger file than your RAM

The bug:
dcfldd diffwr=on if=/dev/zero of=test.dd  # OOM kill

Default option (without diffwr) isn't affected.

The problem:
When destination blocks are same (not written), memory blocks remain allocated.

Eriberto

Reply via email to