Answer the question
In order to leave comments, you need to log in
How to increase memory allocation using C++
Good day to all. I need, for example, that when I run the application I need on my phone (namely on Android), additional RAM is allocated. Those. I want to use C++ to increase the amount of memory consumed, because I'm writing another application that needs more memory, otherwise it's stupid. Tell me where to drop? And is it even possible? I'm just curious for now.
Answer the question
In order to leave comments, you need to log in
more than there is physically? You can enable swap, but this will not solve the performance problem. It’s better to look, maybe your processor cache is not being used productively there, there are a lot of misses, ... or something that can be vectorized there ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question