pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I free cases generated by procedure??


From: Ben Pfaff
Subject: Re: How do I free cases generated by procedure??
Date: Tue, 10 Oct 2006 22:01:09 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

John Darrington <address@hidden> writes:

> On Tue, Oct 10, 2006 at 08:35:24AM -0700, Ben Pfaff wrote:
>      John Darrington <address@hidden> writes:
>      
>      > So it seems that RANK has a huge great memory leak here:
>      >
>      >       /* Obtain active file in CF. */
>      >       if (!procedure (NULL, NULL))
>      >         goto error;
>      >
>      > I've tried some obvious ways to fix it, but none of them 
>      > seem to work.
>      >
>      > It's rather worrying, because from what I can make out, the
>      > size of the leak is proportional to the size of the casefile.
>      
>      At first glance the code doesn't have any obvious leaks.
>      I'll try to investigate more closely this weekend, if you like.
>
> I'd be grateful if you would.  I tried to track it down, but got lost
> inside internal_procedure.
>
> I notice that test/xforms/casefile also leaks a lot of memory.  I
> don't know if these problems are related or not.

I'll look.

I don't often check for memory leaks, so it's good to have them
pointed out like this.
-- 
"Ho ho ho. I _so_ enjoy making a fool out of myself."
--Linus, on Christmas Day, 2000




reply via email to

[Prev in Thread] Current Thread [Next in Thread]