Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
6 views

How guarantee a responsive Desktop using cgroup memory limit

I would like to setup a system with limited memory (raspberry pi) in such a way that application can't cause the desktop (x11, LXDE, openbox, mouse driver, video card driver) to be unresponsive. When ...
2
votes
1answer
19 views

How to increase memory for a Java application in Windows 10?

I suppose I should to increase a Java heap size for the application. Does Java heap size have a common settings for all Windows 10 applications? Or should I set it for the application I need. How? ...
1
vote
1answer
75 views

Where has my RAM gone?

I have 8 GB of RAM installed, as you can see here: … and in Task Manager, it's showing that I'm using around 500 MB. 50% of 8 is 4, so 25% of 8 must be 2. Then why is it telling me that 500 MB is 25%...
3
votes
1answer
31 views

macOS - virtual memory limit (architectural or practical)?

Is there a specific limit (configurable, hypothetical) to the amount of memory macOS can use? I know there are several related factors, like addressable RAM, how virtual memory is used by the system, ...
1
vote
1answer
46 views

JVM Heap size as a ratio of system physical RAM (Weblogic)

How much should the max JVM heap size be set for a specific size of Physical RAM. e.g. With 8GB RAM, I can set the MAX heap size for a server app as 3GB. This question is specific to Java 1.8 and a ...
2
votes
3answers
390 views

How to identify which process committed memory

My system runs high on committed memory (out of 8GB RAM + 2 GB page file 85% memory is committed). Physical usage is at some 65%. How can I identify what process(es) is allocating most of the ...
2
votes
1answer
36 views

Excessive virtual memory/page file - Can I tone it down for space?

Relevant specifications Windows 8.1 enterprise (not my choice) 16GB RAM 128GB SSD (actual capacity: 118GB) Problem The laptop is used for fairly lightweight data office work. The hardest I'm ever ...
1
vote
1answer
21 views

What would cause a Windows VM to consume native host disk space?

So, I've got a Windows10 virtual machine running on macOS via VMware Fusion. It's just the common, freely available Windows development VM. It's been allocated a significant portion of the hosts ...
0
votes
0answers
39 views

process started by bash beyond ulimt but still running well

Background: I have a cron to start supervisor as user "A".Suopervisor was aim to supoervise sphinx searched (service). searched was started with bash command.Htop shows searched has eaten 40G ...
0
votes
0answers
31 views

Is there way to detect Page file size change source within Windows 7?

In the office, I do my work on a Windows 7 machine that has 16GB on RAM. However, after each restart it automatically sets the pagefile to 3072MB. I have created a delayed schedule task (which calls a ...
0
votes
1answer
53 views

Generate dump file/report when low virtual memory occurs

I'm currently investigating an issue that we're having with low virtual memory on Windows 10 IoT Enterprise and I'm trying to track down the process that is causing it. There's an app that's running ...
0
votes
0answers
36 views

Windows 10 svchost using 24 gigs of memory

On windows 10 one of our users is getting a virtual memory error. Upon investigation, svchost is using 24 gigs of memory. When I do a memory dump and run a memory analysis using windows debugging ...
0
votes
1answer
203 views

How to setup the paging file (virtual memory) correctly on Windows Server 2012

I am trying to create 10GB virtual memory on my Windows Server 2012 R2 machine. I have a 40GB SSD disk. I've done it already, but at last I see that I have 10GB only available from my 40GB disk... ...
1
vote
2answers
90 views

The “memory available” that an Operating System tells child processes

I'm wondering about how operating systems let child processes know how much available memory there is. Say the whole computer has 1GB RAM memory built in. The operating runs and uses 100MB (I have no ...
2
votes
0answers
585 views

Understanding Windows Process Memory Layout [closed]

I find many blogs and documents explaining process memory layout. All of them describe a memory layout of following kind: But when I look at the VMMap tool in windows, I find pages of stack, heap etc....
0
votes
2answers
406 views

Virtual and Physical address mapping in 32 bit Windows

Correct me I am wrong. Q1) My understanding is that in 32 bit mode we get 4GB virtual address space. Is this because 32 bit Windows can only support 4 GB physical RAM.? Q2) Every process get its own ...
0
votes
2answers
677 views

Is setting virtual memory to a level higher than normal dangerous to the system?

I currently have 6GB of physical RAM installed in my PC and I lag in Fortnite so I decided to go to virtual memory and put it to 50,000 (which is 50GB) and apparently it takes that from my hard drive ...
0
votes
0answers
80 views

Memory exhaustion with apparently no process exhausting it

I am suffering memory exhaustions on a Windows 10 computer nearly every three days, with no pattern to reproduce (sometimes after PC is powered on for days, sometimes just after power on, sometimes ...
-1
votes
3answers
170 views

Memory management in 32-bit Windows

In a 32-bit system is the 4GB virtual address space for the whole OS or is it for individual process? If it is for the whole OS, then does the OS fools every process that it has its own 4GB of ...
3
votes
0answers
416 views

What to do about the vmmap process in Mac OS X always hogging the CPU?

Hi I am running Mac OS X 10.13.5 High Sierra, and I have always had my Activity Monitor up. My computer would every now and then freeze for a few seconds completely and then act normal again. When ...
-2
votes
4answers
778 views

Why turning off Virtual Memory doesn't improve my computer's performance?

I'm studying computer architecture, more specifically, virtual memory. One thing that I can't seem to uderstand is why turning off Virtual Memory doesn't improve my computer's performance? I know ...
1
vote
1answer
253 views

What am I seeing in htop on Linux?

Not sure if this is the right place for this question but I'll ask it anyway and see where it lands! I have a node process running on Centos and when I run htop, I see a whole bunch of processes that ...
0
votes
1answer
49 views

What is the address in Process monitor

Under Process Monitor, if we pick up specific process then choose its property, under event properties, the process tab shows address for each individual library file and what do these addresses refer ...
0
votes
0answers
35 views

Allocate Disk Space To VM From Second HDD On Host?

I'm very new to the concept of VMs. I just recently got myself a High Sierra VM running on Windows 7 via VirtualBox. (yeah, yeah sue me). I have my main disk on the VM obviously housing the High ...
0
votes
1answer
37 views

I/O and Memory in Windows System Information

How to interpreter I/O and Memory in windows System information Msinfo32? Do I/O addresses represent memory location that mapped I/O device register and how about addresses in memory? If there are ...
1
vote
1answer
34 views

Is garbage collection in programming language used for collecting heap memory nothing else? [closed]

The garbage collection to recycle object that is no longer used is to deallocate heap memory? Does Memory leak represent no enough heap memory space for the program to run? So what we normally say "...
1
vote
1answer
970 views

How to find what is filling up my pagefile

Context: My computer runs Windows 10, and it was bought as a gaming pc. Good gpu, good cpu, 16 Gb of RAM, etc. There are two hard drives, a very small (100 Gb) SSD for the OS, plus a 3Tb HDD. In the ...
2
votes
1answer
234 views

How does Windows OS keep track of a processes virtual memory?

Background: So I know in modern operating systems a process basically has a full 32-bit (or 64-bit) address space to work with. As far as I know the actual virtual memory addresses for the process are ...
1
vote
1answer
301 views

Running multiple shell instances with different parameters at the same time

Assume I have a python script that I want to run with different parameter combinations (I have MacBook Pro). If I use a shell script to do so (say run.sh), does it make sense to run run.sh multiple ...
2
votes
1answer
472 views

Is there a way to turn removable drives into fixed ones in windows 10?

I want to run windows 10 off a live flash drive and I need a page file. It doesn't matter how effective that page file actually is, it is only required to fill a virtual memory requirement for ...
0
votes
0answers
8 views

OS - Parallel between heap/stack and pages

I'm studying for an exam on Operating Systems. I am working on the chapter concerning virtual memory. I'm getting really confused making a parallel between this very common schema describing a ...
-1
votes
1answer
238 views

How does reading kernel memory translate into stealing passwords with meltdown vulnerability?

I have basic understanding of OS and I understand the mechanism of the meltdown vulnerability but I need some help to filling in the blank between reading kernel memory and stealing user passwords. ...
0
votes
0answers
97 views

On Windows (x86), how is the PFN database indexed?

Windows Internals has a section on virtual memory. I understand that the PFN fields in L4 entries, PDPEs, and PDEs refer to the base address of the next level tables, and that the PTE's PFN refers to ...
-4
votes
1answer
4k views

Does Page File size affect Gaming performance?

Does changing the Page File size affect gaming performance? If so, how big of an impact is it & what changes result in better performance? I'm tweaking Windows to maximize gaming performance. I ...
1
vote
0answers
96 views

GNU screen sessions taking very high virtual memory

My GNU screens are taking up a lot of virtual memory. What could be the reason behind this? I have confirmed that none of them have more than 5 tabs in them. I noticed this when i got 'fork: Cannot ...
0
votes
0answers
1k views

How to move swap memory Mac Sierra 10.12.4

I have a mac mini 2014 with 8Gb ram and upgrade the hard drive with an ssd of 500gb. I use a lot of virtual machines and the system end up using virtual memory. I already researched and found some ...
0
votes
1answer
655 views

(Virtual Memory) Windows 7 keeps saying “System memory is running low” and close programs/game crash

I noticed my PC with Windows 7 x64 very often say system memory is running low. This happens when I open some "heavy" programs simultaneously (like Firefox with many tabs, photoediting, CAD, etc). I ...
5
votes
4answers
972 views

Why won't Windows 7 record crash details when the paging file is separated from the operating systems drive, and can I do something about this?

I've got a secondary harddrive (a separate physical device, not a logical partition) specifically dedicated for the Virtual Memory paging file. The drive is 3.5x larger than my RAM, so it's plenty ...
0
votes
1answer
50 views

Moving things to ram [closed]

My laptop has not been feeling well recently. When I checked​ the reasons, I found out Firefox had been performing read and write operations on the HDD at the limit of it's capabilities. After some ...
2
votes
1answer
1k views

Will Microsoft Windows 10 overcommit memory?

Linux OS:es will typically allow overcommit of memory. For example a process can allocate 100GB memory, even though the machine only has 8GB physical memory and no swap. As long as all the allocated ...
0
votes
1answer
532 views

overcommit_memory and overcommit_ratio

Here is my current setting: vm.overcommit_ratio = 50 (default) vm.overcommit_memory = 2 And Current Memory Usage: [localhost~]$ free -g total used free shared ...
0
votes
1answer
997 views

Memory Management - Virtual To Physical Address Translation

Please I need the correct way to convert Logical (Virtual) Address to Physical Address , i have the following Question : Given the following Page Table : Knowing that the virtual pages and ...
1
vote
1answer
2k views

How to delete pagefile

I'm using XP and I want to delete the file pagefile.sys It is covering 4GB of data and I want to delete it. I have installed treesize free software and deleted the pagefile.sys but after restart it ...
0
votes
2answers
818 views

If a process is suspended (swapped to secondary memory), then does the process control block also get swapped to secondary memory?

If a process is suspended (swapped to secondary memory), then does the process control block also get swapped to secondary memory? Or would the process control block remain in main memory, whilst the ...
0
votes
2answers
97 views

Assinging RAM to Virtual machines

I'm working on OpenStack Cloud. I have two VM's. On both I have installed CentOS 7. I have setup one VM as the controller node and the other as the compute node. I have two questions: Can I assign ...
69
votes
8answers
20k views

How is virtual memory actually increasing the memory space?

I understand that virtual memory fools the program by displaying more memory than is actually available. But ultimately it has to map the logical address to the actually physical address. Now how is ...
-1
votes
1answer
2k views

Windows 10 System Managed Virtual Memory Size is Very Low. Can I trust it?

On Windows 10 Home laptop with 8 GB of RAM, the system managed 'Recommended' paging file size is 1905 MB. Everything I've read says the setting should be from 1.5 to 4 times the size of your RAM. ...
0
votes
0answers
89 views

Windows 10 memory leak, please help me diagnose [duplicate]

I upgraded to Win10 from Win7, been having horrid memory leaks. Basically I can't run my computer for more than 7 days, my virtual memory would reach 55GB+ and make my computer non-responding. It's on ...
0
votes
1answer
718 views

Paging , Logical address mapping and page replacement algorithm

i'm confused with some concepts that i need someone to clarify it for me . i know that there is a part of the program is stored on the hard disk during the execution time , that is on virtual memory ,...
0
votes
1answer
96 views

Will increasing physical RAM help in less virtual memory usage and avoid virtual memory bottlenecks in Linux?

In Linux, for a 8GB RAM server, when could we say virtual memory is actually used more? I.e., what is the number of page faults which says system is using more virtual memory?