×
Namespaces

Variants
Actions
Revision as of 01:18, 19 August 2012 by ashraf fawzy (Talk | contribs)

Checking available free memory using Symbian C++

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Compatibility
Platform(s): S60 1st Edition
S60 2nd Edition
S60 2nd Edition (initial release)
S60 1st Edition
Article
Created: User:Technical writer 2 (10 Mar 2003)
Last edited: ashraf fawzy (19 Aug 2012)

Overview

How can I check how much free memory is available?

Description

Use the following code to get the amount of total free memory in bytes:

TMemoryInfoV1Buf info;
UserHal::MemoryInfo(info);
TInt freeMemory = info().iFreeRamInBytes;
<code>
98 page views in the last 30 days.
×