Mail Archives: cygwin/2010/05/10/08:54:18
Hi All,=20
We are running a server on cygwin (on windows 7 , 64 bit , 6 GB RAM ), it
used to run fine with Linux environment.=20
It is crashing on cygwin when client access the huge memory. We found on
debugging that huge memory allocation causing the crash: _buf =3D new
char[array_wid] where array_wid is 1GB. So it is finding difficult to get
huge continues memory in cygwin.
We tried changing the heap memory using regtool command,
regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 4096
regtool -i set /HKCU/Software/Cygwin/heap_chunk_in_mb 4096
we got above information from :=20
http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html
http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html=20
After that we tried to get the memory allocation limit, code is given in the
same link.=20
We are getting only 1596 MB.
Windows machine having more VM size, around 6GB we can see that in process
explorer, but cygwin is not transferring that to environment.=20
looking for the help for increase the VM, or any solution/suggestion ?
And also we also tried Rebuilding the our application with high stack size,
-Wl,--stack,8388608 , didn=E2=80=99t give any hope :(
We also tried with ulimit =E2=80=93v option , and we are not able to chang=
e the vm
size , it says 2 GB is the MAX!
--=20
View this message in context: http://old.nabble.com/changing-the-VM-size-in=
-cygwin.-tp28511180p28511180.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -