segmentation faults and memory problems

Eric Tea eric.tea@u-psud.fr
Sun Apr 13 19:51:00 GMT 2008



Hi,

I try to run a program which needs a lot of memory.
It
fails with a "segmentation fault".
In the program's 
Users Guide,  it is advised to increase the stack size but as knwon the
"ulimit -s" command does not work.
So i tried to compile
the program with "-Wl,stack=..." option but it still failed.

I found in the FAQs some solutions like increasing cygwin's memory
using regtool.
And it is still failing.
I ran the
"max_memory" code given in the FAQ and it always gives 1536.0Mb
and it is very weird...

I work on two computers, running under
windows XP and windows XP64. The former have 1Gb of RAM and the latter
4Gb.
Increasing the stack size and modifying the
"heap_chunk_in_mb" value dont change anything to my segmentation
fault.
Plus "max_memory" always reply 1536Mb for both
computers and for any "heap_chunk_in_mb" value.... (so i think i
am not RAM limitted
ref:<Sea1-F5181TbdkSmLAz00012dd9@hotmail.com>)

I'm
running out of solutions.
Can someone help?
I attach the
cygcheck.out file for the first computer.

Tea Eric
PhD
student, IEF, Université Paris-Sud, FRANCE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 15176 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20080413/d58289ca/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list