| Summary: | when FETCH_HEAD is over 4k in size, "File is too large" IOException is thrown | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] JGit | Reporter: | Antonio Gonzalez <antonio> | ||||
| Component: | JGit | Assignee: | Carsten Pfeiffer <carsten.pfeiffer> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | antonio, caniszczyk, carsten.pfeiffer, robin.rosenberg, sop | ||||
| Version: | 0.11 | ||||||
| Target Milestone: | 0.12-M2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Antonio Gonzalez
Created attachment 191839 [details]
Patch to bump up file size buffer
I bumped up the file size from 4096 to 264144. The FETCH_HEAD size that initially caused the problem was 41k in size, so 264k should be plenty for most cvsimport "do not merge" files.
I recall Shawn doing some work in this area but I can't find the patch on Gerrit... anyways, if you want to contribute your patch you'll have to do it via our Gerrit instance... http://wiki.eclipse.org/EGit/Contributor_Guide#Contributing_Patches I don't think this is the right solution, but we'll have to wait for Shawn's comments... Sounds good. This'll get my camp over the hump in the near future, but you're right there's gotta be a better way. I'm not very familiar with the code or why it's trying to set a max file size but I'd also be happy to take some direction and run with it to help out. Here's a patch for review that should help you with your problem... http://egit.eclipse.org/r/#change,2739 Can you please test it? Fixed in master now, 11e2e746c13cc94cabc96e708f3c6a2b159b5995. *** Bug 340714 has been marked as a duplicate of this bug. *** |