Answer the question
In order to leave comments, you need to log in
How to see when a variable is in the swap file and when in RAM?
I realized that you need to get the memory occupied by the process of the program in which the variable is located. But the fact is that I do not understand how this can be implemented in c ++.
Answer the question
In order to leave comments, you need to log in
From the program's point of view, all variables are in RAM. Unloading to the paging file is handled by the operating system transparently for application applications.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question