Virtual Memory

Up: GEOS SDK TechDocs | Up | Down | Next: 1 Design Philosophy
| One-page Version of this Chapter for Easy Printing

Most disk-operating systems provide minimal file functionality. A file is simply treated as a sequence of bytes; applications can copy data from files to memory or vice versa, but nothing more elaborate. GEOS provides much more elaborate functionality with its Virtual Memory files.

Virtual Memory (VM) is very useful for two reasons. First, it is often impractical to read an entire disk file into contiguous memory; indeed, it is impossible to do so if the file is larger than 64K. The use of virtual memory allows each file to grow arbitrarily large. Second, each disk file is one long, cumbersome stream of data. By using virtual memory files, applications can break files down into smaller, more manageable blocks which the memory manager can handle more efficiently.


Up: GEOS SDK TechDocs | Up | Down | Next: 1 Design Philosophy
| One-page Version of this Chapter for Easy Printing