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
1 vote
2 answers
58 views

Does Virtual Memory expand and contract or does it only expand in Windows 11

What makes the virtual memory expand and what makes virtual memory contract, if possible? Trying to understand the uses of virtual memory and what makes it expand and contract in Windows 11
xchangecode's user avatar
2 votes
1 answer
170 views

Could interrupting a SQL query that was taking too long lead to a decrease in disk space?

For a personal data analysis project, I was trying to find the most frequent 3 products that were being sold together by doing a self join (twice). As the query was taking over 15 mins and the laptop ...
M V's user avatar
  • 23
3 votes
1 answer
373 views

How to deal with huge pagefile (committed memory) usage created by ASUS LightingService?

I have an Asus TUF Gaming laptop that I have owned for around a year. I am running Windows 11 on it. Recently, I noticed a significant increase in memory usage, specifically from higher page file ...
Farshid Nasrollahzadeh's user avatar
0 votes
1 answer
346 views

Win 11: Pagefile disabled but virtual memory still exists

On Windows 11 system, I disabled pagefile. Subsequently, 'Performance Options' shows 'Total paging file size for all drives: 0MB'. However, the virtual memory is still not set to zero and affects the ...
Quiescent's user avatar
  • 163
0 votes
0 answers
39 views

Virtual Memory not working on Windows11 VHDX with Intune

I'm using bootable VHDx with Windows11. My company ask me to register my laptop with Enterprise Portal (Intune); i have to encrypt my drive using Bitlocker for that. When i start from a brand new VHDX,...
user2994407's user avatar
0 votes
0 answers
154 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,399
2 votes
0 answers
118 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
378 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
121 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
250 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
94 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
573 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
167 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 ...
User051209's user avatar
0 votes
1 answer
223 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
2 votes
0 answers
144 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
  • 413
-1 votes
1 answer
129 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
633 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
  • 171
0 votes
0 answers
146 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
581 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
533 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
4k 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
1k 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
1k 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
765 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
66 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
867 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
784 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
132 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
24 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
  • 329
0 votes
0 answers
1k 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
431 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
1k 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
1k 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
950 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
153 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
740 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
21 votes
6 answers
54k 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
  • 221
2 votes
1 answer
6k 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
274 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
1 vote
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
  • 186
0 votes
0 answers
2k 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
356 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,092
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
1k 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
  • 374
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
656 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
3 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
  • 248
5 votes
2 answers
57k 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
182 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
  • 185

1
2 3 4 5 6