[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] number of open files
From: |
Josef Weidendorfer |
Subject: |
Re: [Texmacs-dev] number of open files |
Date: |
Fri, 16 Sep 2011 23:35:25 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.0; x86_64; ; ) |
On Friday 16 September 2011, Joris van der Hoeven wrote:
> > Just a quick guess: After mmap'ing a file, you can close the
> > descriptor, but perhaps it still falls under the OS X limit until
> > a munmap is done? This would explain the connection to freetype,
> > which seems to map fonts into memory.
>
> Thanks for this possible explanation. Is there some way to know
> how many closed FDs are mapped into memory and still counted by the OS?
> This would allow me to check whether your hypothesis is right.
In Linux, you can see the mappings of a process in /proc/<PID>/maps.
Not sure about OS-X.
Josef