在cygwin用svn 拉代碼,報錯!!!
libsvn: Out of memory - terminating application.
Aborted (core dumped)
新舊的內存修改方法
This is an old method and doesn't work anymore:
> % regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 2000
the new mathod: (https://cygwin.com/cygwin-ug-net/setup-maxmem.html)
> % peflags --cygwin-heap=2000 /bin/perl.exe
> % peflags --cygwin-heap /bin/perl.exe
> /bin/perl.exe: initial Cygwin heap size: 2000 (0x7d0) MB
修改了cygwin的內存到4G還是不行。。。
xxxx@6CR6153YT2 /cygdrive/d/ws/7100OTS/trunk
$ peflags --cygwin-heap /usr/bin/svn.exe
/usr/bin/svn.exe: initial Cygwin heap size: 2048 (0x800) MB
xxxx@6CR6153YT2 /cygdrive/d/ws/7100OTS/trunk
$ peflags --cygwin-heap=4096 /usr/bin/svn.exe
/usr/bin/svn.exe: initial Cygwin heap size: 4096 (0x1000) MB