pcp
[Top] [All Lists]

Re: PCPMON - Process Dies after several days

To: Michal Kara <lemming@xxxxxxxxxxxxxxxxxxx>
Subject: Re: PCPMON - Process Dies after several days
From: Mark Goodwin <markgw@xxxxxxx>
Date: Wed, 3 May 2000 16:03:34 +1000 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <20000503080114.50651@arthur.plbohnice.cz>
Sender: owner-pcp@xxxxxxxxxxx
On Wed, 3 May 2000, Michal Kara wrote:

> > Yes, I noticed that too. Even with two simultaneous run of pcpmon. In fact,
> > it eats all of the system memory, slowly.
> > I'll try to compile it with efence or njamd to see from where comes the
> > leaking.
> >
>   OK. I might try to look at it too. I have already passed the source
> code, but I did not find any place where I am allocating memory
> during the gather/display. The only thing I allocate is new GC
> and it should be allocated only once, on the first draw.
> 

Are you calling pmFreeResult() after each pmFetch()?
If not, that is your leak ...

    -- Mark


<Prev in Thread] Current Thread [Next in Thread>