Skip to main content
Filter by
Sorted by
Tagged with
2 votes
0 answers
96 views

What is the best/correct way to handle shared memory objects in a heterogeneous multi-CPU embedded microprocessor context [closed]

I'm working on several projects that are targeting bare-metal multi-core microprocessors, with hardware provisions for shared memory. In other words, the device has several separate CPU cores (of ...
Fake Name's user avatar
  • 5,914
0 votes
0 answers
86 views

move_pages() only is effective temporarily in C++

I'm trying to write NUMA-aware codes, and i encountered some unexpected behavior. I decide to use move_pages() to test if i create the correct NUMA placement but the result is very confusing. for (...
Lynn's user avatar
  • 11
1 vote
1 answer
88 views

Which resources of a modern x86 CPU core are occupied by memory transactions in flight?

I want to clarify how modern x86 architectures handle the latency of memory transactions that go all the way to DRAM. Specifically, which resources (which queues) get occupied waiting for the memory ...
xealits's user avatar
  • 4,783
0 votes
0 answers
18 views

Does alloc_calls of slab_info will decrease if the memory is freed?

I found the count of an API in alloc_calls is not increased over time and decreased if I free allocated memory. Is this true? So if I unload the driver, the API should disappear in the alloc_calls ...
samp lin's user avatar
1 vote
1 answer
110 views

Reading another process' memory in C not returning results after multiple queries

I'm trying to read a variable from another process' memory in C and upon first query, for which I'm using VirtualQueryEx function, some potentially matching values are returned. However, when I change ...
ACarrot's user avatar
  • 63
-2 votes
0 answers
53 views

Where does kubectl top node read data from?

Yes, I have tried how to get the Node CPU% and MEMORY% value using java io.fabric8 kubernetes-client library, didn't get the answer there. I am trying to understand the huge gap between the sum(...
YoavKlein's user avatar
  • 2,821
2 votes
3 answers
155 views

How CPU read memory in alignment?

I have read a post about Why we need memory alignment. I mostly focus the effects on the performance when CPU read memory. The CPU always reads at its word size (4 bytes on a 32-bit processor), so ...
bod's user avatar
  • 21
5 votes
1 answer
163 views

Zero-initialized array keeps having non-zero values [closed]

I am encountering something extremely strange on my system right now. #include <cstdint> #include <iostream> constexpr size_t N = 1l<<31; int main() { auto buf = new int64_t[N]{...
JMC's user avatar
  • 2,123
0 votes
1 answer
85 views

Grails app + Tomcat + Spring Boot - Memory usage is increasing while the application is idle

I started to test Docker to run my application and I had noticed my memory consume when using "docker stats". I see the memory used from the container increasing like, every f5 on my page or ...
David P's user avatar
0 votes
0 answers
115 views

Python logging MemoryHandler leaks memory?

In a main.py file I have following code: import time from v1 import log, ServiceLogger from logging.handlers import MemoryHandler class Service: h = MemoryHandler(1000) id = None log = ...
Denis Prot's user avatar
-3 votes
2 answers
113 views

Facing issues with Structs and malloc in an assignment question [closed]

This was a question in a C Programming assignment given to me as a part of last week's assessment. Requesting everyone to kindly explain what needs to be done and how it needs to be done. Kindly note ...
Gargi Chaturvedi's user avatar
0 votes
0 answers
57 views

Can you give me advice on memory issue from my flutter project?

The app I developed shows the highest memory usage on my device—even more than YouTube, Instagram, or other SNS apps—despite not handling videos or large image data. I’ve searched extensively for ...
Hyejung's user avatar
  • 1,294
2 votes
1 answer
83 views

Weird problems with Zig Array List(s)

In the below code, I have the function "get_specific_files". The objective of this function is to check if certain filenames contain some word, and then return all the files that contain ...
fwamingo 273's user avatar
0 votes
2 answers
211 views

Combining two huge text files and removing duplicates

The Specific Problem I am starting with two gigantic input text files containing lots of lines with a single string value on each line. I'd like to write a Java program to combine the contents of ...
Michael K's user avatar
  • 1,053
0 votes
0 answers
44 views

What can corrupt memory in Julia -- "probably modified after bring freed?"

I am very new to Julia. I am working on a project written in Julia and I am using the following script: import Pkg Pkg.activate(@__DIR__) project_root = normpath(joinpath(@__DIR__, "..", &...
Raul Guarini Riva's user avatar

15 30 50 per page
1
2 3 4 5
2434