Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Allocation Failure #3

Open
stefan-niedermann opened this issue Feb 19, 2014 · 16 comments
Open

Memory Allocation Failure #3

stefan-niedermann opened this issue Feb 19, 2014 · 16 comments

Comments

@stefan-niedermann
Copy link

I get the following error:

Image file pass 1/2.
** MEMORY ALLOCATION FAILURE **
ERROR: Memory exhausted at line 638 in file dig.c. Scalpel was
allocating memory for carvelists when this condition occurred.
Scalpel will abort.

What can be the problem?

@kkepinski
Copy link

same here, any solutions?

@kspham
Copy link

kspham commented Sep 20, 2015

Same here!

@shadoxxhd
Copy link

same here

@Malachiel87
Copy link

Memory exhausted at line 638 in file dig.c. Scalpel was
allocating memory for carvelists when this condition occurred.
Scalpel will abort.

@WPDuality
Copy link

Also have this issue

@crigaud
Copy link

crigaud commented Jul 20, 2017

Same here!
Ubuntu 16.04 LTS 64-bits

@RK224
Copy link

RK224 commented Sep 9, 2017

Same Problem here! Please help

@Qwertylex
Copy link

same.

@muyaedward
Copy link

Same issue here

@rborch
Copy link

rborch commented May 6, 2018

same.

@alucasr
Copy link

alucasr commented Jun 15, 2018

I have the same problem... but maybe not in the same situation, ...
In my case, I was using a LV instead of a partition
scalpel /mnt/SSD -o /pathDest <--- error
scalpel /dev/sda2 -o /pathDest <--that one works
/mnt/SDD is the logical volume and its on sda2
It also works with the lv's definition path (/dev/VG_HD500GB_SSD/MVs)
I hope this could help someone else...

@neutro27joel
Copy link

I had the same issue then I realize that I was using a folder as the first parameter instead of the partition name. The second parameter is just the holder where the data goes to.
// sudo scalpel "/dev/sdd3 ( first parameter)" -o "/home/emmanuel/Desktop/recover (second parameter)"

original: sudo scalpel "/dev/sdd3" -o "/home/emmanuel/Desktop/recover"

@avarne
Copy link

avarne commented Dec 26, 2018

I am also getting the same issue.

@mmahmoudian
Copy link

mmahmoudian commented Sep 20, 2019

I have the same issue, but i by-passed the error by changing the command from:

sudo scalpel /the/mount/point/and/the/folder -o /the/path/to/store/recovered/files

to

sudo scalpel /dev/sdb -o /the/path/to/store/recovered/files

(For those who don't know what sd? are: you you can list all the attached devices to your computer by using the lsblk command in the terminal.)

The modification would change the place you want to recover from, to the device that you want to recover files from.

This is not exactly what I was after since I wanted to recover content of a folder rather than content of a whole partition/disk. But nevertheless, this will bypass the problem and you can later go through the recovered files, extract what you wanted and remove the rest.

@thewoz
Copy link

thewoz commented Jan 12, 2021

same here..
I try to change the command order but the issue it is still there

@srivabhinav
Copy link

Don't run the command as root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests