Re: Out of memory error

new topic     » goto parent     » topic index » view thread      » older message » newer message

Thank you for your responses, but I need to clarify something.....the memory
size I was
quoting was in mb not kb as I stated. The sequences I use are initialized to a
certain length
at the beginning of the program. I don't allocate and since it is a sequence, I
don't see how
I could free(). The size of the sequences is not wavering by much which is why I
am having a
difficult time finding the memory leak.

Thank you again in advance for your help,

Kayhlan

Kat wrote:

> On 20 Feb 2001, at 23:50, kayhlan at EARTHLINK.NET wrote:
>
> > Hello folks,
> >
> > I was hoping to find out if anyone of you knowledgeable people has
> > experienced
> > "out of memory" errors when running large programs in Euphoria. I use
> > allocate
> > and free() in only two places and in neither case is there an exit out
> > before
> > the free() is executed.  I do quite a bit of manipulation of large
> > sequences,
> > most averaging a length of 380,000.
>
> Eu uses 4 bytes for each atom in the sequence, so your 380K sequence is easily
> useing 1.5 megabytes. Possibly you aren't freeing it, or Eu doesn't have time
> to free it?
>
> Kat
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu