This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I used malloc to create my arrays instead of creating the in the stack. My program is working now but it is very slow.^^^^^^^^^^^^^^^^^^^^^^^^
I use two-dimensional arrays. The way I access element (i,j) is: array_name[i*row_length+j]
The server that I use has 16GB ram. The ulimit -a command gives the following output: time(seconds) unlimited file(blocks) unlimited data(kbytes) unlimited stack(kbytes) 8192
That limits stack to 8MB. Please change it to 1GB.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |