Re: What's using all my DRI memory?

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

 



On Mon, May 09, 2016 at 10:06:49PM +1000, Adam Nielsen wrote:
> Hi all,
> 
> I'm trying to track down an annoying bug which is making my system
> crash every two weeks, and in between those two weeks I get various
> programs, typically Firefox, killed every day or two due to out of
> memory errors.
> 
> Apparently all this memory is used by the Intel video driver, which
> doesn't leave enough memory on my 16GB system for applications to run.
> I'm not sure how to work out why this is the case.  Is it a bug in the
> Intel driver, not releasing the memory?  Is it a buggy program
> allocating too much display memory?  How can I figure out what's using
> up all the memory?
> 
> According to this, it looks like 8GB of memory is in use:
> 
> =====
> $ cat /sys/kernel/debug/dri/0/i915_gem_objects 
> 854 objects, 8128716800 bytes
> 446 [17] objects, 657387520 [105037824] bytes in gtt

16MiB for each leaked buffer, I guess framebuffers.

Could you checck /sys/kernel/debug/dri/0/i915_gem_framebuffer ?

Which kernel?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux