USING "SWAP" MEMORY FOR RUNNING APPS THAT NEEDS MORE MEMORY - 1 of 3:
i forget to mention various other solutions, among them is:
using "SWAP" or "swap partition" or "swap volume" or "swap file" , when a Mac computer has lower amount of RAM memory,
or when mac computer is slowing down often.
Swap-partition or swap-file usually needs to reserve storage space, that is 1.5x or 2x or 3x or 4x of RAM size.
So 1st try to create swap-partition that is 2x size of RAM GB size , & observe performance of mac computer.
If performance improved, you good to go.
Or else, just increase swap-partition size, or just create a 96 GB or 128 GB swap-partition.
Or Else, just allow the "swap" to be a DYNAMIC storage space file , that will+can increase when more space is needed, & "swap" file's size will reduce when more space is not-needed . (Newer macOS allows this easily).
macOS uses large amount of RAM memory, & thus can use large swap-memory.
• b = bit ; B = Byte ; 8 bits = 2^3 = 1 Byte ;
• bps = bits per second = b/s ; Bps = Bytes per second = B/s ;
Based on general Decimal ("10") number system :
• K = Kilo = Thousand = 10^3 ; M = Mega = Million = 10^6 ; G = Giga = Billion = 10^9 ; T = Tera = Trillion = 10^12 ;
• 1000 Bytes = 1 KB (deci) = 1 Kilo Bytes ; 1000 KB = 1 MB (deci) ; 1000 MB = 1 GB (deci) ; 1000 GB = 1 TB (deci) ;
... above (decimal based number/unit) is usually used for showing drive/memory storage space.
Based on IEC/JEDEC STANDARD based binary / "2" number system :
• Ki (IEC) = Kibi (IEC) = Kilo (JEDEC) = Thousand = 2^10 ; Mi (IEC) = Mebi (IEC) = Mega (JEDEC) = Million = 2^20 ; Gi (IEC) = Gibi (IEC) = Giga (JEDEC) = Billion = 2^23 ; Ti (IEC) = Tebi (IEC) = T (JEDEC) = Tera (JEDEC) = Trillion = 2^26 ;
• 1 KiB (IEC) = 2^10 = 1024 Bytes (IEC) ; 1 MiB (IEC) = 2^20 = 1,048,576 Bytes (IEC) = 1048 KB (deci) ; 1 GiB (IEC) = 2^30 = 1,073,741,824 Bytes (IEC) = 1073 MB (deci) ; 1 TiB (IEC) = 2^40 = 1,099,511,627,776 Bytes (IEC) = 1099 GB (deci) ;
... above (IEC/JEDEC based number/unit) is usually used for showing computer's internal component's data transfer rate, etc.
• USB 3.0 = 5 Gbps = 500 MB/s.
• USB 3.1 Gen1 = 5 Gbps = 500 MB/s.
• USB 3.1 Gen2 = 10 Gbps = 1212 MB/s = 1.2 GB/s.
• Thunderbolt [1] has max speed 10 Gbps = 1250 MB/s = 1.25 GB/s.
• USB 3.2 Gen2x2 = 2424 MB/s = 2.4 GB/s.
• Thunderbolt 2 has max speed 20 Gbps = 2500 MB/s = 2.5 GB/s.
• Thunderbolt 3 has max speed 40 Gbps = 5000 MB/s = 5 GB/s.
• USB4 (1.0) has max speed 40 Gbps = 5000 MB/s = 5 GB/s. Many many enhancements.
• Thunderbolt 4 has max speed 40 Gbps = 5000 MB/s = 5 GB/s . DisplayPort, DMA, USB Hub, etc enhancements.
• USB4 (2.0) (aka: USB4v2) has max speed 80 Gbps = 10 GB/s. Many many many enhancements, including DisplayPort, etc enhancements.
• Thunderbolt 5 is following USB4 (2.0) specifications, so it will have very very similar features as USB4 (2.0), in 2023.
Read this full/entire post/message before starting to do any step.
CREATE "swap" (file) or "swap-partition":
backup all data by using the TimeMachine software.
CREATE DYNAMIC SWAP FILE FOR (newer) macOS:
•1: first learn techniques by reading steps:
•1a: see/read this(1) discussion on StackExchange, showing how to create/move swap in external-drv or another partition in macOS, etc.
•1b: see/read this(2) discussion on StackExchange, its for older macOS.
•1c: see/read this(3) discussion on StackExchange : macOS keeps various data including "swap" files in a specific VM folder/volume , the linked page discusses on How to setup macOS so that the external volume (named "VM") can be used by macOS to function as macOS's "VM" folder/volume.
•1d: Also see "More info" in last post or in bottom side.
...
GOTO NEXT PART OF THIS MESSAGE : here.