Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2234] iOS: Opening files does not release vnodes

GitHub Issuen/a
Resolution Date2017-06-05T21:08:08.000+0000
Affected Version/sRelease 1.5.0
Fix Version/sn/a
ReporterStephen Tramer
AssigneeIngo Muschenetz


Files which we open never have their vnodes cleaned up. Could be an Apple bug. Only a problem when opening ~1250 vnodes; this seems to be the iPhone's limit on the vnode table.


  1. Stephen Tramer 2011-04-15

    Should've clarified; this may only affect Ti.UI.imageView.image, and other image caching.

  2. Stephen Tramer 2011-04-15

    Some research has indicated that the issue may actually be URL->file translations since these use lstat(). Opening images off the filesystem uses open/fstat/close, meaning that vnodes and file descriptors are probably freed up (and testing outside Titanium bears this out, as it does not appear to have vnode problems).

    However lstat alone does not account for the vnode issue. 273 vnode entries are unaccounted for by the sample program (provided by helpdesk, see #2014). Must be missing something.

  3. Stephen Tramer 2011-04-15

    Bumping to medium priority. This only affects opening 900+ files. The original HD ticket which brought this bug to my attention has switched to a non-local strategy, lowering the urgency of solving this bug.

  4. Stephen Tramer 2011-04-15

    System resource problem that's potentially related to either (a) memory or (b) iOS or even (c) both. Complex to solve and probably for 1.6.0.

  5. Lee Morris 2017-06-05

    Closing ticket due to the time passed and lack of progress over the past few years.

JSON Source