NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wired memory leak?
> From: RVP <rvp%SDF.ORG@localhost>
> Date: Sat, 31 Oct 2026 13:43:31 +0000 (UTC)
>
> I don't think it's just Firefox. Wired usage increases by 10MB each
> time ESC is pressed:
>
> ```
> while :; do glxgears -fullscreen; sleep 1; done
> ```
>
> This is on an Intel Ice Lake GT1 integrated GPU with the
> `modesetting' Xorg driver. With the `wsfb' DDX, Firefox wired totals
> are stable (~9MB).
Can you try this:
dtrace -c 'while :; do glxgears -fullscreen; sleep 1; done' -n '
fbt::kmem_intr_alloc:entry { @alloc["alloc", arg0, stack()] = count() }
fbt::kmem_intr_free:entry { @free["free", arg1, stack()] = count() }
'
and hit ESC a few times and then ^C quickly in the terminal where
dtrace is running, and share the output?
Also, just to confirm:
1. You are counting the `Wired' column in top(1), right?
2. Does the wired memory remain elevated after glxgears exits?
3. Does the wired memory remain elevated after X exits?
Home |
Main Index |
Thread Index |
Old Index