• kyonshi@piefed.social
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    3 days ago

    How does it actually need 20mb of RAM if the system fits into 1.44mb?

    Ok, a bit of an academic question, but still

    • impolitecarry@lemmy.wtf
      link
      fedilink
      arrow-up
      18
      ·
      3 days ago

      Possibly because the version stored on disk is heavily compressed (the keyword squashfs comes to mind), and its expanded to its full form when its in memory?

    • refalo@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 days ago

      besides uncompressing itself, there will be other info that is needed at runtime that requires dynamic memory allocation beyond the size of the kernel itself, like hardware/memory maps, framebuffers, filesystem/networking stuff, caches etc.