GIT RTC integration (How to clone repository via http, file size greater than 300 MB)
How to clone repository via http, file size greater than 300 MB.
Node.js based server for RTC and Git integration:
Tried with below scenario combination but was unable to clone repos, via ssh if the file size is more than 300 MB.
a. GIT RTC integration (how it's descibed in the officicial documentation for RTC 6.0.2):
- RTC 6.0.2
- GIT 2.11.1
- Python 2.7
- Nodejs 0.12.9
- RHEL 6.2 Linux server
b. I can Push repos that have medium size in MB (ca 300MB);
c. I can't clone repos, via http, that have medium size in MB (ca 300MB);
d. I can clone repos, via ssh, on the Repo server itself, that have medium size in MB (ca 300MB);
e. I can clone repos , via http, that have medium size in MB (ca 300MB), if I use Apache http server, but the new RTC GIT integration uses Nodejs (new hooks are recompiled ad hoc).
Procedure: Follow the below steps which should help.
1) set the value (--max-old-space-size) to 8GB:
2) Double the value postBuffer to 1048576000
3) Change the below settings in nodejs (config.json) file.
"Server-Socket-Timeout" : 0,