Hi,
I'm using Symbian 9.
I need to find out the couses for memory leaks.
How can I find the device's total memory?
Thanks,
Eyal.
Hi,
I'm using Symbian 9.
I need to find out the couses for memory leaks.
How can I find the device's total memory?
Thanks,
Eyal.
Hello
TInt64 gfxGetMemoryInfo()
{
RFs FsSession;
TInt64 nFreeSpace;
if(KErrNone == FsSession.Connect())
{
TVolumeInfo aDriveVolInfo;
if(KErrNone == FsSession.Volume(aDriveVolInfo, EDriveC ))
{
nFreeSpace = aDriveVolInfo.iFree;// gives the free space
}
}
FsSession.Close();
return nFreeSpace;
}
You can change parameters of Volume() function
Thanks & Regards
Niilesh
i know this thread is already old but somehow if i question the total ram size (drive D) of S^3 device i get only the amount i can store there myself (eg as a filesystem) not the total ram that the system also has used -.-
any idea how to get total size ?
While the RAM drive really uses the RAM, for this purpose you may find HAL::Get with EMemoryRAM more useful. There is also an EMemoryRAMFree.