I am trying to run a simulation and need more RAM for a big array. I'm at about 24 GB and need about 100 GB.

I have an external hard drive with 2 TB of memory, so is there a way I can use this to increase my current RAM? I am not too good in Ubuntu and know how to do this with Windows, and am hoping someone can help (or at least tell me yes I can do this.). Thanks!

  • 2
    Does this answer your question? How to Increase Ubuntu's Virtual Memory and/or Swap for Matlab?
    – user68186
    Commented Jun 29, 2021 at 15:24
  • 4
    While you can use an external drive for swap, that will be very slow.
    – HuHa
    Commented Jun 29, 2021 at 15:28
  • 3
    If you can, use a SSD drive instead.
    – paladin
    Commented Jun 29, 2021 at 15:41
  • 2
    NVMe or Intel Optane should be good. External HDD will give you <250 Mb/s, you should know this before the start.
    – N0rbert
    Commented Jun 29, 2021 at 17:29


You must log in to answer this question.

Browse other questions tagged .