This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Memory usage


Memory usage

Postby Justt » Oct 4, 2003 @ 8:56pm

I was looking around for some code that would allow me to retrieve the current memory usage of my program, and came up with GR Moore's code at . It seemed to be fine, but when I runt it I got negative memory usage values!

So I was wondering about something... the Windows Task Manager shows how much memory each process is using. How relieble that value is? Does it reflect the ammount of memory the program uses on a PDA?

----------------------------------------------------
EDIT: Haha, I'm so dumb. I was getting negative values because I was subtracting cur_mem-initial_mem instead of the opposite. Please forgive me XD
Justt
-
User avatar
Justt
pm Member
 
Posts: 23
Joined: Mar 23, 2003 @ 10:00pm


Return to GapiDraw


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron