| Summary: | LargeObjectException when synchronizing with EGit | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Marc-André Laperle <malaperle> |
| Component: | Core | Assignee: | Dariusz Luksza <dariusz.luksza> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | caniszczyk, dariusz.luksza |
| Version: | 0.9.0 | ||
| Target Milestone: | 0.9.0-M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Marc-André Laperle
Changing to Egit. It looks like ObjectLoader.getBytes shouldn't be called when dealing with a large object. Files bigger than 1MB are LargeObject which always throws a LargeFileException when getBytes->getCachedBytes is called.
UnpackedObject.open:
if (size < wc.getStreamFileThreshold() || path == null) {
...
return new ObjectLoader.SmallObject(type, data);
}
return new LargeObject(type, size, path, id, wc.db);
This patch set should fix this issue: http://egit.eclipse.org/r/1317 btw. To have it clear, it isn't part of my GSoC project, my adventure with Summer of Code ends about 20min ago ;). Right now I'm a regular contributor ;) Fixed with 6ef63719a7e8c53b7627da17248398226f158b77. Marc-Andre, can you try tomorrow's nightly build and let me know if everything is OK for you. (In reply to comment #3) > Fixed with 6ef63719a7e8c53b7627da17248398226f158b77. > > Marc-Andre, can you try tomorrow's nightly build and let me know if everything > is OK for you. I think it fixed the problem (hudson #429), thank you! (In reply to comment #2) > btw. To have it clear, it isn't part of my GSoC project, my adventure with > Summer of Code ends about 20min ago ;). Right now I'm a regular contributor ;) Thanks for the prompt fix! I hope you continue to contribute, you seem talented :) (In reply to comment #4) > Thanks for the prompt fix! I hope you continue to contribute, you seem talented > :) Yes, I'll continue my contribution ;) |