All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 94726] [Tonga] ARK: Survival Evolved crashes on savegame load. Out of Memory
Date: Mon, 25 Apr 2016 17:22:19 +0000	[thread overview]
Message-ID: <bug-94726-502-ETVQU4AGkH@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-94726-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 691 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=94726

--- Comment #11 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Well, you can open /proc/$pid/maps and read it, but that is inefficient and
hackish. I don't know of a nice way to determine the total number of open mmaps
in a process.

One possible approach we'd discussed is indeed to maintain a LRU list of open
mappings and close the oldest one when a certain threshold number is reached.
This might be the easiest way to avoid the crashes, but some applications might
be hurt in terms of performance, if they expect to be able to update those
small buffers often.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1498 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2016-04-25 17:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-27 20:13 [Bug 94726] [Tonga] ARK: Survival Evolved crashes on savegame load. Out of Memory bugzilla-daemon
2016-03-27 20:26 ` bugzilla-daemon
2016-03-28  7:48 ` bugzilla-daemon
2016-03-28 11:13 ` bugzilla-daemon
2016-04-09 17:56 ` bugzilla-daemon
2016-04-09 17:57 ` bugzilla-daemon
2016-04-13 16:04 ` bugzilla-daemon
2016-04-14 20:40 ` bugzilla-daemon
2016-04-15  0:09 ` bugzilla-daemon
2016-04-15 18:11 ` bugzilla-daemon
2016-04-25  8:46 ` bugzilla-daemon
2016-04-25 17:22 ` bugzilla-daemon [this message]
2016-10-07 19:11 ` bugzilla-daemon
2016-10-11  1:11 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-94726-502-ETVQU4AGkH@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.