answersLogoWhite

0

Where is the memory allocated?

Updated: 10/3/2023
User Avatar

Wiki User

14y ago

Best Answer

Cache memory is built into the central processing unit, commonly known in short as the CPU, or it can be located on a separate chip next to the CPU.

In other sense, cache is located between CPU and Main Memory in the memory hierarchy of a computer system.

just type allinurl:cache memory, in Google search and you will find your answer with more pictures and a lot more about cache memory.

User Avatar

Arianna Blick

Lvl 10
1y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Your question is not specific enough, but I think it's the heap what you mean.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Where is the memory allocated?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Where the Memory is allocated for a variable in a program?

if a variable is of value type memory is allocated on stack memory.. if it is of reference type,memory is allocated on heap memory..


In what are various cells of memory allocated consecutively?

Contiguous memory address are allocated to an array or vector.


How system knows what range of memory it has allocated while using free?

use free() how does the system know what range of memory it has allocated use free() how does the system know what range of memory it has allocated


Memory is allocated in 4k segments called what?

Memory page.


Where the heap memory is allocated in c?

Main Memory (RAM).


What is the maximum size of memory available for dynamic memory allocation?

The maximum memory that can be dynamically allocated depends on the size of the heap memory. Dynamic blocks of memory can be allocated in system heap until it is not full.


Is memory allocated for instance methods for each instance method call?

No! Instance methods are allocated memory at first time only.


Max memory allocated by malloc in c?

Memory is allocated by malloc from the heap.... so max mem = size of heap that is free...


Is memory allocated at runtime for the static variables?

No. Static memory is allocated at compile time. Static variables are allocated within the program's data segment which is a physical part of the executable. When you load the executable into memory, the operating system sets aside enough memory for the entire executable and copies it, byte for byte, into that memory. So when the program is executed, the data segment is already allocated.


What do you mean by run time memory allocation?

When the allocation of memory to the program is done on need, during the execution of a program, it is called as the dynamic memory allocation. Memory is allocated from a free memory pool called as heap.The only way to access this dynamically allocated memory is through pointers. Dynamically allocated memory can be freed at run time and again added to heap.


Can we declare register variable as global?

Globals and statics are both allocated in static memory. Locals are allocated on the stack.


Who is allocated by java memory?

Objects, mainly.