More information for previous post:
In fact, after the commit of the large file, I was able to do 2 or 3 small commit. After that I was not able to do more commit. I did uncommit 2 or 3 times until the large file was uncomitted.
I also tried to use pack --clean-obsolete-packs (out of memory)
Is there a way to put the repo in good shape?