у меня VPS на диджитал уошен , я с этой проблемой уже не один день колупаюсь , уже и перезагружал и останавливал почти все , 512 памяти сводил к 450+ свободной и толку 0 , а ошибку постоянно одну и туже выдает
блин , все сделал как положено , создал акк , с локалки все запушил на bitbucket , а на сервере не могу сделать нечего , то есть даже если я что либо изменил на bitbucket то не смогу скачать эти изменения на сервер , такая же ошибка: fatal: Out of memory, malloc failed (tried to allocate 524288000 bytes)
Писал в сапорт , там нечего умнее "купите у нас более мощный сервер" мне ответить не смогли :(
Power: эмм , только понял что не знаю как задать вопрос. Как через bitbucket это будет теоретически работать? bitbucket ->local ясно , а как bitbucket = local = server ?
это VPS digitalocean.com , я уже думаю снести гит и поставить по новой , в целом те коммиты которые были уже не нужны. Вопрос только (навскидку) , выйдет ли нормально сделать репозиторий по новой? А вдруг снова с памятью косяк... :(
git push
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
In Git 2.0, Git will default to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
Counting objects: 28, done.
warning: suboptimal pack - out of memory
Compressing objects: 100% (20/20), done.
fatal: Out of memory, malloc failed (tried to allocate 151170247 bytes)
remote: fatal: early EOF
error: failed to push some refs to '/home/django/myrep.git'
почитал , все верно я сделал , но все коммиты которые я делаю , не попадают в локальный репозиторий. Выдает Already up-to-date. А в истории показаны старые комиты. git status на сервере выдает директория clean.
бекапить это хорошо и полезно. Но вот (к примеру!) у меня дома гугл хром , на работе сафари , что делать? Синхронизация между такими браузерами работает весьма сомнительно
[user]
email = velovelo.pl.ua
name = veloserver
[pack]
windowMemory = 256m
[http]
postBuffer = 524288000
[push]
default = simple
[core]
compression = 0