Skip to main content

Questions tagged [memory]

In computing, memory refers to the state information of a computing system, as it is kept active in some physical structure.

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, ...
pglpm's user avatar
  • 142
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?...
CocytusDEDI's user avatar
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 ...
david.perez's user avatar
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 ...
Devs's user avatar
  • 1
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, /...
muser's user avatar
  • 101
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 ...
qi chen's user avatar
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-...
MikiBelavista's user avatar
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 ...
hanshenrik's user avatar
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. ...
wangt13's user avatar
  • 591
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 ...
Nemo's user avatar
  • 908
-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 ...
Joey's user avatar
  • 107
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 ...
wangt13's user avatar
  • 591
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-...
Matteo's user avatar
  • 73
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 ...
user3630995's user avatar
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 ...
builtin.ctz's user avatar

15 30 50 per page
1
2 3 4 5
102