Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7139] Ti API: Platform.availableMemory values are not consistent across platforms

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-07-10T22:28:50.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTiAPI
Labelsparity
ReporterArthur Evans
AssigneeIngo Muschenetz
Created2012-01-12T14:53:49.000+0000
Updated2017-07-10T22:28:50.000+0000

Description

Doc says it returns free memory in bytes. iOS appears to return it in MB. Android uses Runtime.freeMemory, which I believe returns bytes. Need to decide which is right and fix the other platform.

Comments

  1. Paul Dowsett 2012-01-12

    I have just submitted APIDoc PR [1157](https://github.com/appcelerator/titanium_mobile/pull/1157) to reflect the current behavior. Please raise a new one when the behavior changes.
  2. Lee Morris 2017-07-10

    Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.

JSON Source