×
Namespaces

Variants
Actions

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: lpvalente (15 Jun 2013)

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>
This page was last modified on 15 June 2013, at 22:05.
51 page views in the last 30 days.
×