Actions
Bug #5257
openGit repository with big binary file provokes error and strange behavior/memory leak of RH.
Start date:
23.03.2017
Due date:
% Done:
0%
Estimated time:
Sorting:
Commit Number:
Affected Version:
Description
Stop to reproduce.
- Create new empty GIT repo on RH
- Clone it to your local folder.
- download file http://jell.yfish.us/media/jellyfish-70-mbps-hd-hevc.mkv
- add this file to git "git add jellyfish-70-mbps-hd-hevc.mkv"
- git push.
- go to rh to new project.
- open change-log
My results:
Before
User PId CPU %MEM MEM
bart 5427 10.5 0.8 507452 133524 pts/2 Sl+ 21:43 0:02 /nix/store/aa0cbzbpzpswfa8gvml12rlgyrdzsg96-python-2.7.12/bin/python /run/user/1000/tmp.yvbVSzR8hD/bin/pserve --reload configs/dev.ini
After
User PId CPU %MEM MEM
bart 5427 13.8 20.7 4446012 3394028 pts/2 Sl+ 21:43 0:07 /nix/store/aa0cbzbpzpswfa8gvml12rlgyrdzsg96-python-2.7.12/bin/python /run/user/1000/tmp.yvbVSzR8hD/bin/pserve --reload configs/dev.ini
RH thorws 404 Memory Error
Next refrefs provokes new strange things.
like 404 : log msg:
2017-03-23 21:56:09.539 ERROR [rhodecode.controllers.changeset] General failure
Traceback (most recent call last):
File "/home/bart/PycharmProjects/rhodecode-develop/rhodecode-enterprise-ce/rhodecode/controllers/changeset.py", line 183, in _index
commit_id=commit_id_range, pre_load=pre_load)]
File "/home/bart/PycharmProjects/rhodecode-develop/rhodecode-enterprise-ce/rhodecode/lib/vcs/backends/git/repository.py", line 411, in get_commit
commit_id = self._get_commit_id(commit_id)
File "/home/bart/PycharmProjects/rhodecode-develop/rhodecode-enterprise-ce/rhodecode/lib/vcs/backends/git/repository.py", line 213, in _get_commit_id
raise EmptyRepositoryError("There are no commits yet")
EmptyRepositoryError: There are no commits yet
Some times you see this commit in summary, sometimes you have msg repo is empty.
Actions