On Thu, Nov 20, 2008 at 9:28 PM, Alexey Salmin <[EMAIL PROTECTED]> wrote:
> 2008/11/20 Michael Matz <[EMAIL PROTECTED]>:
>> Hi,
>>
>> On Wed, 19 Nov 2008, H.J. Lu wrote:
>>
>>> On Wed, Nov 19, 2008 at 7:18 PM, Nicholas Nethercote
>>> <[EMAIL PROTECTED]> wrote:
>>> > On Tue, 18 Nov 2008, H.J. Lu wro
2008/11/20 Michael Matz <[EMAIL PROTECTED]>:
> Hi,
>
> On Wed, 19 Nov 2008, H.J. Lu wrote:
>
>> On Wed, Nov 19, 2008 at 7:18 PM, Nicholas Nethercote
>> <[EMAIL PROTECTED]> wrote:
>> > On Tue, 18 Nov 2008, H.J. Lu wrote:
>> >
>> >>> I used malloc to create my arrays instead of creating the in the st
Hi,
On Wed, 19 Nov 2008, H.J. Lu wrote:
> On Wed, Nov 19, 2008 at 7:18 PM, Nicholas Nethercote
> <[EMAIL PROTECTED]> wrote:
> > On Tue, 18 Nov 2008, H.J. Lu wrote:
> >
> >>> I used malloc to create my arrays instead of creating the in the stack.
> >>> My program is working now but it is very slow
On Wed, Nov 19, 2008 at 7:18 PM, Nicholas Nethercote
<[EMAIL PROTECTED]> wrote:
> On Tue, 18 Nov 2008, H.J. Lu wrote:
>
>>> 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 acce
On Tue, 18 Nov 2008, H.J. Lu wrote:
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
On Tue, Nov 18, 2008 at 6:08 PM, Anna Sidera <[EMAIL PROTECTED]> wrote:
> Hello, thank you everybody for your help.
>
> 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 elemen
Anna Sidera wrote:
Hello, thank you everybody for your help.
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
program?
Anna
- Original Message -
From: "Anandkumar, CB IN BLR SISL" <[EMAIL PROTECTED]>
Date: Friday, November 14, 2008 8:53 am
Subject: RE: RE: change to gcc from lcc
> Hi Anna,
> On debugging your code I found that it is problem with the local
> memory b
Anna Sidera <[EMAIL PROTECTED]> writes:
> The following code works in lcc in windows but it does not work in
> gcc in unix. I think it is memory problem. In lcc there is an option
> to use more temporary memory than the default. Is there something
> similar in gcc?
In gcc, no. But if you are usi
> > the code you provided tries to allocate a huge chunk of memory on the
> > stack.
> Interesting. At least. There should be a warning from gcc.
The limit is nothing to do with GCC. It is an OS setting (ulimit -s).
Paul
Interesting. At least. There should be a warning from gcc.
Eric
2008/11/14 Tim München <[EMAIL PROTECTED]>:
> On Friday 14 November 2008 10:09:22 Anna Sidera wrote:
>> Hello,
>>
>> The following code works in lcc in windows but it does not work in gcc in
>> unix. I think it is memory problem. In
On Friday 14 November 2008 10:09:22 Anna Sidera wrote:
> Hello,
>
> The following code works in lcc in windows but it does not work in gcc in
> unix. I think it is memory problem. In lcc there is an option to use more
> temporary memory than the default. Is there something similar in gcc?
>
> #incl
Hello,
The following code works in lcc in windows but it does not work in gcc in unix.
I think it is memory problem. In lcc there is an option to use more temporary
memory than the default. Is there something similar in gcc?
#include
#include
#include
#include
int main()
{
int i, j;
int buf
13 matches
Mail list logo