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

This is a bit of a slog so bare with me. I'm currently writing a 3D S(moothed) P(article) H(ydrodynamics) simulation in Unity with a parallel HLSL backend. It's a Lagrangian method of fluid simulation,...
Ben Williams's user avatar
0 votes
1 answer
57 views

I am trying to analyze a memory dump obtained with dotnet-dump from a Ubuntu container in WinDbg to find an unmanaged memory leak. I have been able to load the dump, but whenever I try to run !heap -s,...
Steve's user avatar
  • 9,635
Best practices
2 votes
5 replies
119 views

If I have a server written in golang that processes requests containing user queries, is there any viable method to track and limit the memory used by any given user request? The server process does ...
Craig Ringer's user avatar
0 votes
0 answers
40 views

I'm attempting to use Massif to profile heap usage of an application. I'm running with the --pages-as-heap=true option and am confused by some output I'm seeing. Specifically I'm seeing allocation by ...
Kevin's user avatar
  • 549
1 vote
1 answer
69 views

I have some Python code running in k8s which in some cases is being OOMKilled and not leaving me time to cleanup which is causing bad behavior. I've tried multiple approaches but nothing seems quite ...
Aharon Sambol's user avatar
0 votes
0 answers
35 views

So i have a very relatively simple java application spring 2.3.7 on java 8 that microservice simply calls DB to save update or retrive base64 image string thats all. So i have deployed that in my ...
Syed_Furqhan007's user avatar
0 votes
0 answers
44 views

I am using h2o-3 java repo to load this frame but have been running into memory issues with constant GC pressure. The actual frame size is 3.31 GB as per h2o logs, but the peak JVM usage comes to be ...
Monil Patel's user avatar
-2 votes
1 answer
129 views

I’m experimenting with sorting large arrays of unique integers in JavaScript and came up with a simple approach. I’m curious if it’s a recognized pattern or if there are potential pitfalls I might be ...
Aaron's user avatar
  • 1
1 vote
1 answer
129 views

I tried it with -fsanitize=address and it didn't show any error. Is this a problem with my address sanitizer or system, or is this normal? Also, how to catch these situations? #include <iostream>...
Zebrafish's user avatar
  • 16.3k
0 votes
1 answer
92 views

See the below logs, A critical kernel driver cannot apply for a large block of continuous memory and then panic: [29001.362425] kworker/u12:4: page allocation failure: order:4, mode:0x40dc0(GFP_KERNEL|...
wonderzyp's user avatar
0 votes
0 answers
140 views

From another thread I found that indeed allocates enough storage to hold at least n elements, but it doesn't actually fill the container with any elements If elements are already allocated why ...
sat0sh1c's user avatar
0 votes
0 answers
94 views

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
0 votes
0 answers
19 views

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
2 votes
2 answers
171 views

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
  • 33
0 votes
1 answer
101 views

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
-2 votes
2 answers
131 views

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
2 votes
1 answer
120 views

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
0 answers
48 views

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
1 vote
0 answers
57 views

I'm trying to run an IFFT on a very long signal (10^9 data points) and I'm running into RAM constraints. I'd like to be able to chop up the signal and run it in batches (as I am not time constrained ...
David's user avatar
  • 454
1 vote
1 answer
186 views

I have one dataframe: bos_df_3 that has about a 30k+ rows and another, taxon_ranked_only, with 6 million when I tried to join them using: matching_df = ( pl.LazyFrame(bos_df_3) .join( other=...
Ryan's user avatar
  • 436
2 votes
1 answer
269 views

I'm working on a Laravel project using Filament for the admin dashboard. Initially, everything worked fine with a few resources. But after adding a fourth resource, the panel started throwing memory ...
NAZ's user avatar
  • 23
2 votes
2 answers
194 views

I have this class: class Socket { [...] pollfd* fdPtr; }; And I have a Manager class that creates the actual pollfd objects and adds them to a std::vector named pollFdsVec, to then poll on ...
desynchedneo's user avatar
0 votes
0 answers
193 views

I have been having issues allocating memory on the GPU with jax. I am running on a cluster that gives me access to a RTX6000 (24GiB vram) which jax is attempting to allocate to. Output of jax....
Kepler7894i's user avatar
0 votes
3 answers
233 views

I have an array of char pointers (C-style string). As far as I know C-style string containing N characters occupy N + 1 bytes in memory since it also has a null character '\0' at the end terminating ...
tftoclik's user avatar
  • 173
-1 votes
1 answer
103 views

I implemented a function to return the Pascal Tree of numRows rows in 2 ways: // Making a copy of the last element class Solution { public: vector<vector<int>> generate(int numRows) { ...
Harshit Tomar's user avatar

1
2 3 4 5
730