Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2019 21:15:24 +0300
From:      Greg V <greg@unrelenting.technology>
To:        raichoo <raichoo@acmelabs.space>
Cc:        x11@freebsd.org
Subject:   Re: wayland: gdk error 12 "cannot allocate memory"
Message-ID:  <1561572924.40243.0@unrelenting.technology>
In-Reply-To: <20190626162920.GA1293@lain.lan>
References:  <20190626162920.GA1293@lain.lan>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, Jun 26, 2019 at 18:29, raichoo <raichoo@acmelabs.space> wrote:
> Hi,
> 
> I'm currently developing a wayland compositor and I'm running into an
> interesting issue. After a certain amount of views I cannot open any 
> more and
> GDK complains about being unable to allocate memory. Am I doing 
> something
> wrong or is this a shortcoming of the current state of wayland on 
> FreeBSD?

It's failing to allocate timerfds, which were implemented as threads + 
kernel timers.

Now there's a pure kqueue implementation in epoll-shim git master that 
fixes the problem:

https://github.com/jiixyj/epoll-shim/issues/8





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1561572924.40243.0>