Django 致命:内存不足,malloc失败(尝试分配524288000字节)
我和django一起工作。我首先跟踪了staticfiles文件夹,它是在运行python manage.py collectstatic时生成的{‘它实际上是原始静态文件的副本}。我不想跟踪它,因为它在部署和推入git时会增加项目的大小。所以我只是将它添加到gitignore中,并使用“git rm-r--cached foldername”从索引中删除 在它之后,当我尝试推送更改时,它的给出错误。 以前我修改了配置文件以推送更大的文件 错误:致命:内存不足,malloc失败(尝试分配524288000字节) 我想 我的配置文件:Django 致命:内存不足,malloc失败(尝试分配524288000字节),django,git,heroku,git-push,Django,Git,Heroku,Git Push,我和django一起工作。我首先跟踪了staticfiles文件夹,它是在运行python manage.py collectstatic时生成的{‘它实际上是原始静态文件的副本}。我不想跟踪它,因为它在部署和推入git时会增加项目的大小。所以我只是将它添加到gitignore中,并使用“git rm-r--cached foldername”从索引中删除 在它之后,当我尝试推送更改时,它的给出错误。 以前我修改了配置文件以推送更大的文件 错误:致命:内存不足,malloc失败(尝试分配5242
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
packedGitLimit = 128m
packedGitWindowSize = 128m
[remote "origin"]
url = 'removed for privacy '
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "developer"]
remote = origin
merge = refs/heads/developer
[remote "heroku"]
url = 'removed for privacy '
fetch = +refs/heads/*:refs/remotes/heroku/*
[pack]
deltaCacheSize = 128m
packSizeLimit = 128m
windowMemory = 128m
什么是“it”给出错误?
git push
?是的,推送更改就是给出错误。什么是“it”给出错误?git push
?是的,推送更改就是给出错误。