Namespaces
Variants
Actions

Checking available free memory using Symbian C++

Jump to: navigation, search
Article Metadata

Compatibility
Platform(s): S60 1st Edition
S60 2nd 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>
This page was last modified on 19 August 2012, at 01:18.
130 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved