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
16 views

Mongo c driver cursor memory leak when iterating via cursor_next()

I am using the mongo-c-driver version 1.25.1 I have a process running inside a docker container which is using this driver. I am attempting to sync all collections from one database to another. I dont ...
cdevto's user avatar
  • 1
0 votes
0 answers
6 views

How to clear gpu memory used by doctr model

I am using doctr for ocr purpose.. and doctr model is running in gpu so after me ocr work is done still it is there loaded in gpu memory. I am trying to clear gpu memory using with torch.no_grad(): ...
Eknath Mali's user avatar
1 vote
1 answer
164 views

Strange memory/IO errors when building nextjs/node app inside docker

I have Linux server with 1.3T of nvme ssd, and 64gb of ram memory. There is production app based on latest nextjs and nod. So I have docker-compose with container for the frontend where I just copy ...
Max Frai's user avatar
  • 63.7k
2 votes
1 answer
41 views

Compare strings from a very large text file (over 100 GB) with a small text file (about 30 lines) and print all the strings contained in both files

I have two text files. One contains a very long list of strings (100 GB), the other contains about 30 strings. I need to find which lines in the second file are also in the first file and write them ...
JoZePe's user avatar
  • 23
0 votes
1 answer
12 views

MTLBuffer didModifyRange not required

I think the MTLBuffer method didModifyRange is not required on my computer (late 2013 macbook, IntelHD4000 graphics card). Why is this the case? In what cases will it be required? Is it because this ...
sub mil's user avatar
0 votes
0 answers
12 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
23 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
81 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
25 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
13 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
41 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
30 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
12 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

15 30 50 per page
1
2 3 4 5
2425