Subject: Re: VM space leak?
To: Witold J. Wnuk <witek@pd37.warszawa.sdi.tpnet.pl>
From: Chuck Silvers <chuq@chuq.com>
List: current-users
Date: 06/04/2001 22:57:21
hi,

could you try this with NetBSD 1.5 and see if that shows the same behaviour?
also, could you try using a different version of acroread to see if that
makes any difference?

I just experimented with acroread 4 an x86 -current from 2 days ago
and I didn't see the behaviour you're reporting.

-Chuck


On Mon, Jun 04, 2001 at 04:46:02PM +0200, Witold J. Wnuk wrote:
> 
> NetBSD-current 1.5V.
> 
> Lot of things changed around recently so I can't really say when I started
> seeing this.
> 
> The effect is easy to observe with acroread. When I try to view
> .pdf file, swap usage will keep increasing causing hang in few minutes.
> Sometimes one click in acroread is worth 1MB of swap space. I see
> similiar effects with certain other applications.
> 
> > swapctl -s
> total: 294328k bytes allocated = 278340k used, 15988k available
> > ps u
> USER  PID %CPU %MEM  VSZ   RSS TT STAT STARTED    TIME COMMAND
> witek 648  0.0  0.2  348   272 p4 R+    4:36PM 0:00.00 ps u 
> witek 304  0.0 17.2 8972 22512 p2 S+    4:26PM 0:38.34 /usr/local/bin/acroread 
> ...
> 
> Yes, 128MB RAM and almost 300MB of swap are used.
> 
> When I quit acroread, swap usage will go down:
> > swapctl -s
> total: 294328k bytes allocated = 44592k used, 249736k available
> 
> 
> I see this effect on two NetBSD/i386 -current machines. Configuration
> is quite different - one is diskless client with swap on NFS, second
> is standalone box with swap on local disk.
> 
> 
> Anyone has idea what is happening?
> 
> This problem is very easy to repeat, and I would be happy to provide
> additional information.
> 
> 
> Greetings,
> 
> 
> 	Witold J. Wnuk
>