1

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!

scruby
  • 111
  • 1
  • 2
    Does this answer your question? [How to Increase Ubuntu's Virtual Memory and/or Swap for Matlab?](https://askubuntu.com/questions/799834/how-to-increase-ubuntus-virtual-memory-and-or-swap-for-matlab) – user68186 Jun 29 '21 at 15:24
  • 4
    While you _can_ use an external drive for swap, that will be very slow. – HuHa Jun 29 '21 at 15:28
  • 3
    If you can, use a SSD drive instead. – paladin Jun 29 '21 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 Jun 29 '21 at 17:29

1 Answers1

0

https://de.wikihow.com/Eine-SSD-als-RAM-verwenden So I think this is just a swap I do not know if it is possible to do that! You could use zram (a swap in the ram) or a regular swap but I never heard of that... An HDD as a swap So I would apprechiate it but

  1. It is very slow if SSD or not! It is like 10x and more slower! So quite not really usable
  2. Here is also one with SSD and nobody had the effort to find the correct solution so I just recommend to buy more ram or make a swap: https://superuser.com/questions/408352/using-ssd-as-linux-ram

I hope I help, Sorry I can't comment but I see this as a solution

EDIT: Found another one: It is posibble to Expand memory with SSD?

And important: I heard of small disks that can be connected to a module and operate as a RAM but if you are one like me with apple you can't change RAM or add

france1
  • 184
  • 1
  • 14