vedgy added a comment.

In D139774#4066519 <https://reviews.llvm.org/D139774#4066519>, @dblaikie wrote:

> (1) seems OK-ish, I guess there's some question as to what the tradeoff is 
> for that option - does that blow out memory usage of the client/kdevelop? But 
> I guess it's probably fine.

At least one KDevelop user who has limited RAM and keeps /tmp on disk (not 
tmpfs) protested vehemently against unconditional storing of the temporary 
files in RAM. Several gigabytes of RAM can be valuable on some systems. Storing 
huge files in a temporary directory is definitely more flexible. But to users 
who keep /tmp on tmpfs, storing the preamble files in RAM is preferable, 
because memory is always freed right after a KDevelop crash, not on next start 
of the same KDevelop session (which can occur much later).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139774/new/

https://reviews.llvm.org/D139774

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to