Problem with large PDF
I have large PDF (50MB) that I want store in my bzr repo, but when adding it, it's marked as normal text file, which in result couses MemoryError on commit:
Committing to: /srv/bzr/epp/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
author=author)
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
revprops=
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
content_
File "/usr/lib/
self.
File "/usr/lib/
ie.file_id, lines, heads, nostore_sha)
File "/usr/lib/
self.
File "/usr/lib/
random_
File "/usr/lib/
parent_texts, nostore_sha, random_id, check_content, left_matching_
File "/usr/lib/
parent_texts, left_matching_
File "/usr/lib/
lines, [line_bytes])
File "/usr/lib/
["end %s\n" % version_id]))
MemoryError
bzr 1.5 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'ci', 'static', '-m', 'Added hi-res epp pdf']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_DK.UTF-8'
plugins:
bzrtools /usr/lib/
launchpad /usr/lib/
I think bzr is trying to put whole PDF in memory (for what reason?).
Is there any solution for that, so i can commit it?
I don't really care about diffs from this file, so perhaps I could mark it as binary?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- TomekPaczkowski
- Solved:
- Last query:
- Last reply: