Updated:

Draw It or Lose It Memory and Storage Considerations Coursework

Exclusively available on Available only on IvyPanda® Made by Human No AI

Draw It or Lose It memory management relies on two known constants: the size of each necessary image is 8 megabytes, and only one image is being used at any one time. Because of this, one can deduce that the client-side application only needs as much memory space to store the current image. Additionally, a smaller amount of memory will be required for image-related data, such as how much of it should be revealed. Since the size of the biggest component of this data is known and the additional component can be reasonably estimated, memory for it can be assigned at load time (Silberschatz, et al., 2008). This block of memory will also be cleared out after each round, thus preventing internal fragmentation (Silberschatz, et al., 2008). As the game relies on relatively fast reactions as players compete to guess the image first, ensuring that the image is completely loaded into memory and can be accessed quickly and reliably is crucial.

The server-side database requires 1600MB of storage space for the existing images, though if new ones are ever added, this space will have to be expanded. On the client side, since it is known that a game lasts 4 rounds, each with one image, a minimum of 32 megabytes of storage space will be required per game. This storage can be implemented as a single archive file for convenience (Silberschatz, et al., 2008). An important consideration is whether the client should only download images for the current game, keep the ones already downloaded for possible reuse in a later game, or permanently store all the possible images. In any case, speed of access is not a priority in this application due to the relatively small file size and the time allowed by breaks between rounds.

Overall, memory management considerations focus on short-term resource storage where access speed and reliability are prioritized. Due to the game’s short duration, fragmentation does not become an issue as memory is only assigned for a single launch of the client application. Conversely, storage considerations focus on medium and long-term storage of resources. At this scale, speed of access is less of a concern than consistency, efficiency, and the possibility of expansion as the game’s image database grows.

Reference

Silberschatz, A., Galvin, P. B., & Gagne, G. (2008). Operating system concepts (8th ed). Wiley.

More related papers Related Essay Examples
Cite This paper
You're welcome to use this sample in your assignment. Be sure to cite it correctly

Reference

IvyPanda. (2023, May 27). Draw It or Lose It Memory and Storage Considerations. https://ivypanda.com/essays/draw-it-or-lose-it-memory-and-storage-considerations/

Work Cited

"Draw It or Lose It Memory and Storage Considerations." IvyPanda, 27 May 2023, ivypanda.com/essays/draw-it-or-lose-it-memory-and-storage-considerations/.

References

IvyPanda. (2023) 'Draw It or Lose It Memory and Storage Considerations'. 27 May.

References

IvyPanda. 2023. "Draw It or Lose It Memory and Storage Considerations." May 27, 2023. https://ivypanda.com/essays/draw-it-or-lose-it-memory-and-storage-considerations/.

1. IvyPanda. "Draw It or Lose It Memory and Storage Considerations." May 27, 2023. https://ivypanda.com/essays/draw-it-or-lose-it-memory-and-storage-considerations/.


Bibliography


IvyPanda. "Draw It or Lose It Memory and Storage Considerations." May 27, 2023. https://ivypanda.com/essays/draw-it-or-lose-it-memory-and-storage-considerations/.

If, for any reason, you believe that this content should not be published on our website, please request its removal.
Updated:
This academic paper example has been carefully picked, checked and refined by our editorial team.
No AI was involved: only quilified experts contributed.
You are free to use it for the following purposes:
  • To find inspiration for your paper and overcome writer’s block
  • As a source of information (ensure proper referencing)
  • As a template for you assignment
1 / 1