[Bug 94726] [Tonga] ARK: Survival Evolved crashes on savegame load. Out of Memory
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 25 17:22:19 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94726
--- Comment #11 from Nicolai Hähnle <nhaehnle at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160425/487c3031/attachment.html>
More information about the dri-devel
mailing list