Questions tagged [memory]
In computing, memory refers to the state information of a computing system, as it is kept active in some physical structure.
1,520 questions
0
votes
2
answers
36
views
How to stop a running memtester (without risking to have to reboot)?
Extremely "noob" question: I have a running sudo memtester ... on an Ubuntu 22.04 machine, but I gave it too much memory to test and it's taking too much time (I see it running and updating, ...
1
vote
1
answer
67
views
How does the linux kernel know where to put its heap?
When setting up dynamic memory allocation, the Linux kernel has got to choose a place to put its heap, no? How does it avoid overriding its own stack or the stack growing and overriding the heap later?...
2
votes
2
answers
101
views
Theorically I have a lot of available memory but some apps die due to OutOfMemory
I have CachyOS (an Arch Linux based distro) installed on my system, with BTRFS as the file system.
I have 32 Gb physical RAM.
It used to work well for many months since I have installed in september ...
0
votes
0
answers
16
views
Heap dump using jmap for memory leak purpose
so i am trying to check memory leak currently so i did some thread dump and heap dump for it
i am using jdk11 command which is jstack & jmap
the jstack command runs well, i can see the file in ...
0
votes
0
answers
37
views
Finding actual memory usage of process
I have seen similar questions 1, 2, and understand the difference between RSS/VSZ.
I've some uses of mmap'ing distinct virtual memory regions to the same underlying physical memory.
In this case, /...
0
votes
0
answers
23
views
How my VM overcommit memory using hugetlbfs
I am trying to reproduce the experiments in this paper.《Progressive Memory Adjustment with Performance Guarantee in Virtualized Systems》. It is said "For example, we use hugetlbfs to
limit the ...
0
votes
0
answers
12
views
How to solve Out of memory on AKS?
I am running CircleCI jobs and got an 137 error.
I checked
k logs pod/dzapi-66d6b9cb-l995w -n simm
Error from server (BadRequest): container "dzapi-solution" in pod "dzapi-solution-...
0
votes
1
answer
67
views
Why is dd unable to read /proc/pid/mem?
Why is GNU Coreutil's dd unable to read /proc/pid/mem? PHP is able to read it, check this:
$ dd if=/proc/357668/mem bs=100 skip=93824992231424 count=1 iflag=fullblock
dd: /proc/357668/mem: cannot skip ...
1
vote
0
answers
51
views
Weird behavior: Does libasan consume system memory constantly in Linux?
I am working on an embedded Linux system (kernel-5.10), and the cross GCC only supports -fsanitize=address for address sanitizer.
Then I built a testing program with -fsanitize=address and -lasan. ...
12
votes
3
answers
4k
views
How long does it take to run memtester on a server with 3 TB RAM?
I have a few baremetal servers running RHEL, which previously had some issues with java/JVM crashes and occasionally some kernel-level memory error messages. The servers are now mostly idle as the ...
-1
votes
1
answer
84
views
Resizing filesystem to increase space in AWS EC2 instance
I created an AWS EC2 instance, and I am using the EC2 instance to maintain a database. I'm currently trying to perform some post-processing on my database (by quering my database in batches), but this ...
1
vote
0
answers
16
views
Kernel Oops happened in hci_send_acl() in Linux
I am working on an embedded Linux system (kernel-5.10.150), there is an bluetooth+WIFI module in system.
By wifi+BT testing, I found there is a kernel oops as follows,
[ 101.717826] CPU 0 Unable to ...
0
votes
0
answers
28
views
Does the SRAT show offline memory?
I'm reading this section of the ACPI documentation on the SRAT: https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/17_NUMA_Architecture_Platforms/NUMA_Architecture_Platforms.html#system-resource-affinity-...
2
votes
0
answers
85
views
Speed up memory allocation
We have some servers CentOS 7 with 1Tb RAM for large math calculation.
When server is just rebooted, at application start memory allocation is realy fast
When some calculations were already performed ...
1
vote
0
answers
30
views
Understanding Unexpected Page Faults in a Memory Touch Program on Linux
I wrote a small C program to allocate a large memory region, touch one byte in each 4 KiB page, and print statistics about page faults. The goal is to understand how Linux handles memory allocation ...