Tagged Questions
1
vote
3answers
55 views
Linux / JVM - OutOfMemoryError: unable to create new native thread
I have a memory problem with a Linux server (CentOS). It is a VM. Below is the context.
It has 70Gb of RAM. There are 2 tomcat running on it.
One tomcat is given a heap of 13Gb and the other one a ...
2
votes
2answers
99 views
Where is the virtual memory stored on hard drive?
If a process wants to access a memory address that is not in physical memory, the OS outsources a page frame from physical memory to the hard drive for later use. Where on the hard drive is this data ...
1
vote
1answer
54 views
What information exactly is in the access control bits of a page table?
I'm currently learning for an exam in operating systems. This includes learning some basics about page tables, which lead me to the question Why using hierarchical page tables? which mentions that ...
2
votes
1answer
148 views
Huge page and performance improvemnt
How can using huge page improve performance?
I have read that huge pages improve performance by reducing TLB lookups and reducing the size of the page table. Can someone tell me how this helps with ...
1
vote
2answers
201 views
Discrepancy between reported used memory and sum of application memory usage
I'm running a desktop system that quite regularly suffers from lack of memory, this prompted me to investigate what causes the issue in the first place.
Problem is, there's no single process that ...
5
votes
3answers
368 views
Why is the theoretical RAM limit for RHEL 6 128 TB and how is this determined?
I'm studying for RHCSA and am confused by a statement I came across in some training material:
There is no practical maximum RAM, as theoretically, you could run 128 TB of RAM on RHEL 6. But ...
1
vote
0answers
152 views
Where does the Linux kernel reside in memory ?
From some book I have, I have in my notes that the Linux kernel resides at 0xc00000000 on 32-bit systems, and is mapped into user space for performance reasons.
Is this accurate ? How can I verify ...
6
votes
2answers
644 views
An oom killer thats baffling me
I am not able to understand why would kernel issue this oom killer when I see enough memory is available:
Also why are there so many kernel cache pages allocated?
I say enough memory is available ...
3
votes
1answer
252 views
Rationale for making user space text segment start at 0x8048000
I read somewhere that (at least since Linux v. 2.6) all user-space code is placed at load address 0x8048000 in the virtual memory address space.
My own observations confirm this. I have done a
cat ...
1
vote
2answers
149 views
Sudden burst in free memory
I'm experiencing some strange memory management behaviour on Squeeze with Kernel 2.6. I'm trying to get to the bottom of this with nmon.
Sometimes this will freeze up the system for 30 seconds to 5 ...
1
vote
0answers
280 views
Memory mapping of the Linux kernel : how extended (4MB) and regular (4KB) paging coexist?
On x86 architecture, "Extended paging" allows page frames (physical memory) to be 4 MB instead of 4 KB.
The book "Understanding the Linux Kernel, 3rd" at chapter 2 "Memory Addressing", sub-chapter ...
2
votes
1answer
96 views
Memory Management: Faulting virtual addresses
I came across the following on http://tldp.org/LDP/tlk/mm/memory.html
If the faulting virtual address is invalid this means that the process
has attempted to access a virtual address that it ...
2
votes
1answer
257 views
How often is PSS value updated for a given process in /proc/pid/smaps
So if n processes are sharing a library L with size M then the contribution to their PSS is M/n.
Now imagine one of the process terminates. So the contribution would be M/(n-1).
Q1: My question is ...
8
votes
1answer
4k views
Getting information about a process' memory usage from /proc/pid/smaps
For a given process in /proc/<pid>/smaps, for a given mapping entry what are:
Shared_Clean
Shared_Dirty
Private_Clean
Private_Dirty
Is Shared_Clean + Shared_Dirty the amount of memory that ...
2
votes
1answer
394 views
tmpfs and vm.swappiness
I have started tuning a bit Linux VM performance on my system (yes. I know that vm.swappiness=0 will kill kittens but I found 30-40 as much better for me as it improved my latency - probably at cost ...