Article # 408, added by Geoworks, historical record
| first | previous | index | next | last |

How is the memory used on the OmniGo?



Q. How big is the RAM disk on the OmniGo? How big is the heap?
   Don't they both have to add up to 1M?  I have a real live OmniGo
   in my hands, and Transfer says "35Kb used, 373Kb free".  This
   adds up to 408K.  Where's the missing 168Kb?

A. In the Transfer application, "Memory available" refers to RAM disk
   space, since available heapspace is an elusive and generally
   worthless measurement (what with fragmentation, max available block
   size, etc.)

   On the OmniGo, the 1 Meg of RAM is divided as follows:

	Video Memory		32k
	Heap Space		576k
	RAM Disk Space		416k
			Total	1024k

   As the RAM disk is a FAT file system, a certain percentage of
   the memory must be allocated to the FAT itself.  The system
   also uses part of the RAM disk for the INI-file, clipboard file,
   etc.  All those use about 8Kb, which leaves 408Kb for general
   usage.  This is why in Transfer, you only see a total available
   space of 408Kb.