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

[bug] errors: Encoding error: Can't encode memory with xdelta. Error code: ♀ / Bad allocation / FAILED. #9

Open
gomoku opened this issue May 14, 2016 · 4 comments

Comments

@gomoku
Copy link

gomoku commented May 14, 2016

Something is wrong when trying to diff some pair of folders, it throws errors:

Encoding error: Can't encode memory with xdelta. Error code: ♀
Bad allocation.

or

Encoding error: Can't encode memory with xdelta. Error code: ♀
Encoding xdelta diff file game1/file1.dll.diff
Gathering SHA1 digests for files in old directory...
Creating registry file...
FAILED.

What's going on?

Perhaps the errors are more related to Xdelta than to Scarab? - since there are some big sized files (over 500mb) in both folders, which Xdelta has some troubles with? Perhaps updating Scarab with the newest version of Xdelta can fix the errors?

http:https://xdelta.org/

@anonymi-de
Copy link

Same problem here. I guess its because this app is compiled as a 32bit program. It should be a 64bit program.

@jeffnmock
Copy link

Anyone find a solution to this? Encountering the same issue

@loyso
Copy link
Owner

loyso commented Oct 16, 2017

Scarab tries to load a whole file into memory now (which was a temporary decision).
It needs to be re-written a little bit. Maybe I'll fix it soon.
Also, xdelta is free to use these days.

@JustMyGithub
Copy link

4.5 year later, but there is a x64 build provided in #11 now that solved the "Bad allocation" error for me. However it still has issues as posted in Issue 11

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

5 participants