Questions tagged [virtual-memory]

Virtual memory is a method where each process is given its own address space (virtual memory), and the hardware translates every VM reference to a physical memory address. Originally VM was used to provide more address space than the available physical memory. To accommodate situations when more virtual memory is in use than physical memory, a storage device such as HDD can be used to "swap out" data and later "swap (back) in" as needed.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

What exactly triggers Windows to move its pagefile.sys to another disk or partition?

I run a number of test systems with Windows 10 Professional installed. All of these systems have a SSD drive with three partitions (C:, D:, and E:) installed. All systems are setup exactly the same ...
Erik's user avatar
  • 1,339
2 votes
0 answers
35 views

What are "Global Pages" for? (Intel x86 processors)

In Intel Software Developer's Manual (Intel 64 and IA-32 Architectures Software Developer's Manual, June 2023 edit version) Volume 3A Section 4.10.2.4, while explaining TLBs, the following is said ...
WannabeArchitect's user avatar
1 vote
0 answers
126 views

Can virtual memory be used to allocate more memory for WSL2?

I'm running WSL2 on a laptop with 16BG RAM. Working on a project in Node which in local development when run takes as much as 7GB of memory which is almost all of the allowed 50% and this causes ...
Robert Jamborski's user avatar
0 votes
0 answers
73 views

Performance Counter for Memory Mapped Files

When using memory mapped files I'm getting in situations where Windows stalls since new memory is allocated and processed faster than it can be written to disk using memory mappedfiles. The only ...
msedi's user avatar
  • 101
0 votes
1 answer
161 views

Photoshop CS6 will not open and keeps saying there is not enough RAM when it has worked before with less free memory

So this question goes hand-in-hand with another one of my posts, Urgent: Cannot run any program as administrator, gives file system error (-1073740791) on Windows 10, in that I believe they are ...
rignecorte's user avatar
0 votes
0 answers
67 views

Chrome session stops loading anything after copying large image to clipboard

So I was copying a 15000x8000 image from Wikipedia to my clipboard in Windows 10, which resulted in the browser freezing for a bit. It unfroze and I thought everything was fine after that but noticed ...
rignecorte's user avatar
3 votes
1 answer
353 views

Deleting swapfile.sys when another partition is provisioned for paging in Windows 11

A Windows 11 system is configured with two physical storage devices. The first has a typical layout, of boot, reserved, and data partitions, whereas the second is partitioned exclusively for a page ...
brainchild's user avatar
0 votes
0 answers
142 views

Memory optimization of redis-server in an embedded Linux distribution

I'm trying to optimize a redis-server version 6.0.5 installed in an embedded Linux distribution with 2 GByte of RAM. At the moment there aren't particular failure of the redis-server. The output of ...
frankfalse's user avatar
0 votes
1 answer
179 views

Can rsync --remove-source-files to the same drive reduce fragmentation?

I know that rsync with --remove-source-files (which I use instead of mv so I can merge directory hierarchies) creates new inodes: stat 2021_07_30_20_18_17.pdf~ rsync --remove-source-files ...
Sridhar Sarnobat's user avatar
1 vote
0 answers
88 views

Is it possible to use explicit huge pages in redis

I know that Redis does not work well with THB (Transparent Huge Pages), but is it possible to run Redis using explicit 2MB or 1GB HugePages? Unfortunately googling the issue always gives a ton of info ...
HubertNNN's user avatar
  • 363
-1 votes
1 answer
81 views

Why is my committed memory not all being used/shown on task manager?

For some reason it says I have 13.2GB of memory committed but on the memory area it only says 3.4GB. Committed: Real memory:
iiSilenced Neø's user avatar
0 votes
1 answer
521 views

Is the virtual memory page size too low on Parallels 18 VM for Apple M1 running Windows 11 ARM?

I am running Windows 11 ARM inside an Apple M1 mac mini with 16 GB RAM. My specs on Windows 11 look like this One of the games that I am running specifically (Ghost Recon Future Soldier DX9) gives me ...
PirateApp's user avatar
  • 147
0 votes
0 answers
47 views

Tell Hypervisor to Swap Allocated RAM to Paging Files

Due to many running VMs in Windows 10 I am hitting my physical memory limit. Although it will be a performance hit, I want windows to allow paging of the VMs allocated memory. By default it does not ...
James's user avatar
  • 1
0 votes
3 answers
347 views

Can small amount of tablet's RAM be compensated by virtual memory

If you have a 1 GB ram Windows 7/8/10 tablet then I assume there will be poor performance. Could it be improved by increasing the page file (virtual memory) size? Perhaps it's not so important to get ...
V555's user avatar
  • 3
2 votes
1 answer
422 views

calculating memory used by "ext4_inode_cache" from /proc/slabinfo?

On Linux I have two ways to get the memory used by ext4_inode_cache. First is using the slabtop command which gives me "CACHE SIZE" information too: # slabtop -o -s c | grep -E '(...
Sam's user avatar
  • 143
1 vote
0 answers
2k views

Why did Windows put my pagefile on a different drive, and can I move it back?

I have a Windows 2012 server with a boot drive mounted as drive letter C, and a very large disk array (120 TB) attached and mounted as a single volume as drive letter F. I happened to notice that ...
Brionius's user avatar
0 votes
2 answers
864 views

How virtual memory and page file is related?

We know that CPU produces logical addresses also known as virtual addresses while a program is running. Then, those virtual addresses are get translated into physical addresses by Memory Management ...
Daud Ahmed's user avatar
1 vote
1 answer
539 views

How to monitor virtual memory in windows 11?

I want to see how much virtual memory I am using, and have watched multiple tutorials, but can't seem to find any on windows 11. I have tried using performance-monitor, but I am unable to find virtual ...
ph140's user avatar
  • 111
0 votes
0 answers
553 views

Pagefile keeps growing, but never fully utilised

My laptop runs Windows 10 Pro and has a 512GB SSD (~45GB free) and 16GB RAM. My page file is set to 'automatically managed'. Recently I've found that my pagefile keeps growing to the point where it ...
Car888's user avatar
  • 1
0 votes
3 answers
44 views

Virtual Memory Organization

I have a question pertaining to virtual memory. In the description we always tend to show Heap growing from Low Address to High Address, and Stack in the other direction e.g. Question: Is this just ...
Sandeep's user avatar
  • 103
0 votes
2 answers
653 views

How to stop certain Windows games from disabling/bypassing disk read caching? A probable DRM issue

It's now the second game that I've been playing recently which for some reasons makes Windows not use disk cache. I have 64GB of RAM. The game itself eats around 7GB, 2GB are left for the OS, which ...
Artem S. Tashkinov's user avatar
0 votes
2 answers
658 views

Windows apps crashes randomly (diagnosis)

Recently I am experiencing random crashes on windows and seemingly not related to specific apps and without a blue-screen, some give strange errors and seem like OS-related issues. sometimes I see ...
Unicornist's user avatar
0 votes
0 answers
115 views

Cannot browse internet with 48Gb of Ram

I have 48Gb of Highspeed Ram and yet I cannot download from Steam or a site like MyAirBridge without my computer slowing to an absolute crawl. Even moving the mouse around the screen I have stuttering ...
PsiSoldier's user avatar
0 votes
0 answers
22 views

Why does Win10 not auomaticly grow the page file

The page file size on my Windows 10 64bit with 16GB phyiscal RAM is managed by Windows automaticly. The system tells me that the size is currently 2,38 GB. So the virtual RAM is 18,1 GB. When I "...
buhtz's user avatar
  • 309
0 votes
0 answers
923 views

MacBook is laggy when switching apps

On my MacBook I experience lags when switching apps or when the debugger hits an exception/breakpoint and brings my IDE to the top. The CPU usage is quite low, as you can see in the following image. ...
Elastic Lamb's user avatar
0 votes
0 answers
307 views

Where are process pages stored - in the swap space or under file system? Can demand paging work without space space?

The Galvin OS text says that on older systems, there used to be a method, where the entire running process (when in idle state) was moved from the main memory (when main memory ran low) to the disk ...
Abhishek Ghosh's user avatar
1 vote
1 answer
667 views

Moving the page file to a different folder

My Windows 8.1 To Go machine is always popping up saying it's low on memory, so I finally decided to make a page file. The problem is, I was going to make it on my largest hard drive on the computer. ...
BDMCGaming's user avatar
1 vote
0 answers
787 views

Windows paging file size with 100GB RAM

My system has more than 100GB RAM. But when I have too many applications open or Tabs open, I feel the system is slowing down even though the RAM utilization is around 10-15 GB. My paging file size ...
Rajendra V's user avatar
0 votes
1 answer
504 views

Understanding virtual machine memory allocation and process virtual memory - Hyper-V

I am trying to understand how the memory demands of my application are imposed on a virtual machine and/or the host computer. The context of this question is Windows 10 guest O/S on (probably) Windows ...
C Robinson's user avatar
0 votes
0 answers
124 views

why physical memory NOT contiguous?

Background: I was running a kernel module that give me some info about kernel virtual address space which told me that Linux lowmem region is approximately 7.24 GB. lowmem region is supposed to be a 1:...
KMG's user avatar
  • 113
0 votes
1 answer
719 views

Sysinternal's VMMap is unable to find injected memory

I'm writing a Python script that uses the Windows API to learn process injection. The injection is successful. I can verify that the shellcode is running, and Process Explorer shows the connection: ...
Carcigenicate's user avatar
13 votes
6 answers
31k views

How can I stop `vmmem` process?

I installed docker on windows home which uses WSL2 as a backend. However, ever since I installed a new container on it yesterday my computer fan has been turning on every 5 seconds. I am not sure ...
Nathan's user avatar
  • 141
2 votes
1 answer
4k views

How do I remove/disabled MsMpEng.exe? [duplicate]

My system regularly crashes with the following error in the error log Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: MsMpEng....
Jon Story's user avatar
  • 351
0 votes
0 answers
238 views

Esxi not reading all installed memory

So i have esxi with installed memory 12 GB The vmware reads 8gb only I have raid hardesk And SSD THICK PROVISIONS data store So why the esxi reads only 8GB?
Manga202's user avatar
0 votes
2 answers
4k views

How to force Windows 10 to use pagefile on usb-connected SSD?

I have a constantly connected USB SSD disk. I'm never going to disconnect it at runtime. It operates in a "better performance mode", not "quick removal". I can configure pagefile ...
Vlad's user avatar
  • 174
0 votes
0 answers
1k views

Why is Windows apparently using HDD instead of SSD as virtual memory?

I'm running a python notebook which is reading big files from disk (stored in HDD) and putting their content into memory. My computer seems to be using virtual memory, because it is running out of RAM,...
Homero Esmeraldo's user avatar
1 vote
1 answer
297 views

Using compressed memory under Miniconda container

I am using continuumio/miniconda3:latest as the base image for my container. It looks to be debian based. I run it under Amazon Linux 2. I would like to optimally use compressed memory, perhaps zram, ...
Asclepius's user avatar
  • 1,080
1 vote
0 answers
1k views

Page file size in Windows 10

As I have gone through some articles, the virtual memory page file size should be 1.5 multiplied by the RAM size. I am currently using 8GB physical RAM in my laptop. So accordingly the page file ...
Shraban SP's user avatar
0 votes
1 answer
53 views

What if the computer programs would know about the existence of each other? [closed]

In modern computers, virtual memory provides a layer of abstraction, thanks to which the program thinks that's it works with the processor itself. I know it's impossible under the conditions of modern ...
user avatar
0 votes
2 answers
831 views

Adding RAM (32GB to 128GB) Windows uses much more memory: why/how/where?

I recently updated a 9900k system with 32GB to 128GB of RAM. After getting rid of useless drivers, at startup, Windows 10 enterprise x64 uses 2.6GB of RAM. After upgrading to 128GB, the memory used is ...
Soleil's user avatar
  • 344
0 votes
1 answer
1k views

Does increasing ram reduce memory usage percentage in windows 10?

I have i5-9300h processor and 8bg of ram on my laptop and recently have noticed that Chrome and apparently Desktop Windows Manager accounts for maximum memory usage in my task manager. So upgrading my ...
Jereen V's user avatar
0 votes
3 answers
490 views

Why should I install my programs into my SSD? Shouldn't disk accesses be infrequent after loading to memory?

I'm wondering why people always say to put the Operating System and the program installations on the SSD (as opposed to a larger magnetic disk HDD). As I understand, in the memory hierarchy, programs ...
gust's user avatar
  • 103
2 votes
1 answer
5k views

Can you use virtual memory like you can physical RAM if you have an NVMe drive? Are there limitations to this?

I have a program that needs LOTS of RAM to for a computation project I need to run for a weekend. Obviously I don't have supercomputer ram and my limits as a consumer is 32GB. Windows has memory ...
Tom's user avatar
  • 209
4 votes
2 answers
48k views

Shared GPU Memory. Can I turn off this feature?

I am running: Windows 10 Nvidia GTX1070-8GB 24GB System RAM i7 I am running into an issue in my video editor, complaining about depleting the GPU memory. When inspecting my resources, I noted that ...
Louis van Tonder's user avatar
0 votes
0 answers
159 views

How to increase virtual memory in Windows 10

Premiere Pro is complaining when I import more than 120gb of video. I have 240gb ssd, 10gb RAM. When I increase virtual memory to 15GB, max 30GB, I still getting the low memory import error once the ...
JZK's user avatar
  • 175
1 vote
1 answer
6k views

Set the page/swap file on an external hard disk to save space on the main system disk

My 32-bit Windows 10 machine has a reasonable processor, but limited hardware resources (only 4GB RAM and 28GB local HDD). Windows itself takes up nearly half the disk so I'm using an external 1TB USB ...
AlainD's user avatar
  • 4,487
0 votes
0 answers
37 views

.NET application seems not to be executing some operations when left to sit idle - laggy after sitting idle

I have a .NET application which basically does the following: Is connected to a bunch of serial devices (~32) via COM ports, and is processing data coming from those devices When a message is ...
cmiller's user avatar
3 votes
0 answers
498 views

34 GB of commited memory but no app actually commited that much

Sometimes I encounter Out of memory errors and Windows Event Viewer shows this (translated): Resource-Exhaustion-Detector: A lack of virtual memory in the system was successfully detected. The ...
Vlad's user avatar
  • 174
1 vote
1 answer
643 views

Why do I seem to run out of memory when at 80% memory usage instead of 100%

Both on windows and Linux machines it seems as if memory usage tops out around 80% according to resource monitors. Once memory gets around 80% disk IO starts to shoot up and I can hear the computers ...
dsollen's user avatar
  • 239
0 votes
1 answer
84 views

Does macOS compact RAM to save power?

We all know that a modern OS will save power by throttling the CPU (or even putting it to sleep) when it isn't needed. But what about the RAM? After all, DRAM can't be powered-down without losing its ...
superbatfish's user avatar

1
2 3 4 5 6