Skip to main content

Questions tagged [memory]

Use this tag for memory management or issues in programming. For questions about memory hardware issues or errors in general software, go to https://superuser.com, or https://serverfault.com if this is related to enterprise-level hardware or software.

0 votes
0 answers
5 views

JFR not dumping file contents

I am trying to have my process run with JFR enabled. Recently, when the process ends, contents are not dumped to the JFR file, so it’s just empty. If I run the process for maybe 3 minutes and stop it, ...
rmh99's user avatar
  • 11
0 votes
0 answers
12 views

Large allocation metadata is causing fragmentation and wasting DRAM in jemalloc when using extent hooks

I am writing a simple custom extent allocator that returns extents from a pre mapped area (this way I can explicitly control the mapped area -- and the allocations in it). I am using the dev branch of ...
idle_cycles's user avatar
-4 votes
0 answers
77 views

Why does the program freeze? [duplicate]

I've written the following code where two pointers are: char* and int*. They all point at the 'sym' variable that just contains one symbol. Just for fun, I decided to change the symbol using the int ...
ascending's user avatar
0 votes
0 answers
14 views

While running a piece of driver code on an AMD64 machine, it appears that there are issues related to cache consistency or out-of-order execution

While running a piece of driver code on an AMD64 machine, it appears that there are issues related to cache consistency or out-of-order execution. Are there any experienced engineers who can help ...
HnlyWk's user avatar
  • 23
0 votes
0 answers
11 views

How do I call Windows functions from EDK2?

I made a DXE_RUNTIME_DRIVER in EDK2. It hooks the gRT->Setvariable function, which I use to communicate with the driver from Windows (by setting a NVRAM variable, which sends data to the hooked ...
Shmurkio's user avatar
0 votes
0 answers
11 views

SSAS memory usage Object ID Big and Small

I am analyze why my ssas server is consume a lot of memory some times, it is not when we proccess the cubes. If i run the DMV memory usage i can set it is OBJECT ID Big and Small that is consume a lot ...
allmighty's user avatar
  • 215
-1 votes
0 answers
32 views

WPF application memory different on different system

Wonder how does WPF memory works. Created a simple wpf window application with .NET 8. The memory usage is observed below: System 1: 900++MB (Windows 11) System 2: 250++MB (Windows 11) System 3: 50++...
Sean Tan's user avatar
0 votes
1 answer
29 views

Jupyter Notebook error: Unable to allocate / Too large work array required, when calculating inverse matrix

I want to calculate the (generalized) inverse of a 30807 x 30807 matrix. I tried to use np.linalg.pinv(matrix), and the error "MemoryError: Unable to allocate 7.07 GiB for an array with shape (...
Y H's user avatar
  • 1
0 votes
0 answers
9 views

SLURM --mem v. --mem-per-cpu for the purposes of running MATLAB in parallel

I'm learning how to submit batch jobs using SLURM, and I'm curious if there any difference between #SBATCH -n 32 #SBATCH --mem==128G v. #SBATCH -n 32 #SBATCH --mem-per-cpu=4G If I'm not mistaken, --...
John Kim's user avatar
0 votes
0 answers
46 views

How do I keep my kernel module installed? [duplicate]

I'm quite new to Linux, so pardon me. Running Kali Linux 6.8.11-amd64. I'm following a hacking book and I've reached a section that is dedicated to rootkits. Specifically making a C program to replace ...
Spectre 3007's user avatar
-2 votes
0 answers
31 views

Difference between an 8-bit addressable CPU and an 8-bit CPU [closed]

I was recently given a test and they mentioned that the CPU was an 8-bit addressable one. They wanted me to write a C program that would write a character of arrays to some specific location in the ...
blindhunter's user avatar
-1 votes
0 answers
27 views

Is it possible to fully utilize the memory size equal to the maximum memory used in an AWS Lambda function?

I've got a lambda function that executes a docker application. When testing it locally, the Memory Size was 3008 MB and the Max Memory Used was also 3008 MB, so the memory usage matched the allocated ...
ryan1101's user avatar
0 votes
2 answers
83 views

socket read access violation

During the second read from the socket I get a read error. void ClientWindow::on_button_send_clicked() { auto message = std::make_shared<std::string>(ui->plainTextEdit->toPlainText()....
Danek's user avatar
  • 11
-2 votes
0 answers
57 views

How can Flat sequences occupy more memory than container sequences in Python? [duplicate]

Fluent python book describes two types of sequences: Container and Flat, with container sequences being able to hold items of different types but as reference to python objects, while flat sequences ...
DarKing's user avatar
  • 21
-1 votes
0 answers
14 views

Increasing the size of a neural network layer without compiling a new model in Tensorflow

I am training a narrow 3-layer tensorflow neural network with layer sizes (input_size, small_number_hidden_units, output_size) and using the learned weights as a blueprint for the initial conditions ...
TalTal The Eighth's user avatar

15 30 50 per page
1
2 3 4 5
2425