From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: Memory leak in drm/i915? Date: Wed, 03 Nov 2010 19:05:40 +0000 Message-ID: <849307$a89e5p@azsmga001.ch.intel.com> References: <849307$a86oqb@azsmga001.ch.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 9BF319E7C2 for ; Wed, 3 Nov 2010 12:06:00 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Jason Detring , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 3 Nov 2010 13:31:58 -0500, "Jason Detring" wrote: > App running for 60 minutes (we've just started swapping): > > /sys/kernel/debug/dri/0/i915_gem_objects > 514 objects > 390938624 object bytes > 3 pinned > 7471104 pin bytes > 12 mappable objects in gtt > 10108928 mappable gtt bytes > 124223488 mappable gtt used bytes > 125960192 mappable gtt total > 206 objects in gtt > 124223488 gtt bytes > 125960192 gtt total Looks like an ordinary userspace bo leak. Now you want to start instrumenting textures and making sure they are all accounted for. Equally the bug may be in mesa leaking references. -Chris -- Chris Wilson, Intel Open Source Technology Centre