Why does it takes the same amount of RAM as VRAM? #19883
Answered by
LaszloLango
Feb 25, 2026
Replies: 2 comments
|
#15237 is similar. I also tried |
0 replies
|
Ok, I think I got it now. RTFM, sorry for the noise. No Memory Mapping
|
0 replies
Answer selected by
LaszloLango
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Ok, I think I got it now. RTFM, sorry for the noise.
No Memory Mapping
--no-mmap: Do not memory-map the model. By default, models are mapped into memory, which allows the system to load only the necessary parts of the model as needed. However, if the model is larger than your total amount of RAM or if your system is low on available memory, using mmap might increase the risk of pageouts, negatively impacting performance. Disabling mmap results in slower load times but may reduce pageouts if you're not using--mlock. Note that if the model is larger than the total amount of RAM, turning off mmap would prevent the model from loading at all.