Top "Virtual-memory" questions

Virtual memory is a memory management technique developed for multitasking kernels.

What's the difference between a process and a process image?

What's the difference between a process and a process image? What does one contain that the other doesn't? What are …

memory process operating-system virtual-memory
fork() failing with Out of memory error

The parent process fails with errno=12(Out of memory) when it tries to fork a child. The parent process runs …

linux fork virtual-memory memory-overcommitment
64 bit large mallocs

What are the reasons a malloc() would fail, especially in 64 bit? My specific problem is trying to malloc a huge 10…

windows memory 64-bit malloc virtual-memory
How to work with reserved CMA memory?

I would like to allocate piece of physically contiguous reserved memory (in predefined physical addresses) for my device with DMA …

memory-management linux-kernel linux-device-driver virtual-memory device-tree
Physical or virtual addressing is used in processors x86/x86_64 for caching in the L1, L2 and L3?

Which addressing is used in processors x86/x86_64 for caching in the L1, L2 and L3(LLC) - physical or …

caching x86 virtual-memory tlb virtual-address-space
How do x86 page tables work?

I'm familiar with the MIPS architecture, which is has a software-managed TLB. So how and where you (the operating system) …

operating-system x86 virtual-memory computer-architecture
A machine has a 32 bit address and an 8KB machine

A machine has a 32-bit address space and a page size of 8KB. The page table is entirely in hardware, …

32-bit memory-address virtual-memory page-tables
How to avoid running out of memory in high memory usage application? C / C++

I have written a converter that takes openstreetmap xml files and converts them to a binary runtime rendering format that …

c++ c memory virtual-memory
Why doesn't this memory eater really eat memory?

I want to create a program that will simulate an out-of-memory (OOM) situation on a Unix server. I created this …

c linux memory virtual-memory
A simple "Hello World" needs 10G virtual memory on a 64-bit machine vs 1G at 32-bit?

Running a simple Java program on our production machine, I noticed that this program eats up more 10G virt. I …

java memory-management jvm 64-bit virtual-memory