S
S
Space2014-05-21 15:59:10
Android
Space, 2014-05-21 15:59:10

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

2 answer(s)
S
Sergey, 2014-05-21
Protko @Fesor

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 ...

A
AxisPod, 2014-05-22
@AxisPod

www.downloadmoreram.com
Well, what a question, such an answer. Figure out what the problem is first. At least run profiling, it will be seen where it slows down.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question