doubt with memory usage

hi,

i use this code for knowing my memory usage

local function checkMemory()     collectgarbage( "collect" )     local memUsage\_str = string.format( "MEMORY = %.3f KB", collectgarbage( "count" ) )     print( memUsage\_str, "TEXTURE = "..(system.getInfo("textureMemoryUsed") / (1024 \* 1024) ).." MB" )  end timer.performWithDelay( 1000, checkMemory, 0 )

but the return is

MEMORY = 500.000 kb

my question is :

is it 500 000 kb > 500mo ?..disaster

or

is it 500 , 000kb> 0.5MO ?

I think you’ve got your conversion backwards, 500.000 kb =  .5 megabytes. 500,000 kb = 500 megabytes (half a gig), or perhaps you’re in a language that uses , to denote partial units (so one half = ,5 for you?)

500.000 kb = 524,288 bytes or 1/2mb.  I don’t know what MO means.  If you mean MB for megabytes, then it’s half of a megabyte, which isn’t much in today’s mobile devices.

thanks…i m from belgium so i’m a little confused with the unit.

I think you’ve got your conversion backwards, 500.000 kb =  .5 megabytes. 500,000 kb = 500 megabytes (half a gig), or perhaps you’re in a language that uses , to denote partial units (so one half = ,5 for you?)

500.000 kb = 524,288 bytes or 1/2mb.  I don’t know what MO means.  If you mean MB for megabytes, then it’s half of a megabyte, which isn’t much in today’s mobile devices.

thanks…i m from belgium so i’m a little confused with the unit.