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

Why am i getting java.lang.OutOfMemoryError: Java heap space even when i have a plenty of memory. So my simple code that create dataframe from input data, so no really data processing in spark - only ...
user453575457's user avatar
0 votes
2 answers
165 views

I have a .Net 4.7 application (WPF) whose memory consumption increases to 5.785 GB in private bytes, but the heap bytes are 4.260 GB, as shown in the figure taken by Process-Explorer: If I run GC ...
james james's user avatar
2 votes
3 answers
258 views

I’m working on a C project where I need to know if a pointer refers to memory allocated on the stack or the heap. For example: int x = 42; // stack variable int *y = malloc(sizeof(...
Pawan Bhatta's user avatar
1 vote
1 answer
183 views

I’m investigating how C’s runtime memory allocator behaves in a long-running process that repeatedly: allocates many blocks of variable size with malloc(), finishes its work, and calls free() on all ...
bla-ce's user avatar
  • 13
0 votes
1 answer
94 views

I have a big Spring Boot aplication composed of multiple micro services using Gradle buildSrc. It contains a lot of tests seperated into seperate tasks (unit, integration, acceptance...). These tests ...
Patrick Badran's user avatar
-1 votes
1 answer
147 views

I had a heap corruption error recently which I solved but cannot understand what is happening I am allocating memory for a DBL array, new DBL[length+1]; // where length = 1000; Later I am writing ...
Soumya's user avatar
  • 393
0 votes
0 answers
104 views

I have this sample program: Program.cs: internal class Program { private static void Main(string[] args) { var testObject = new ZZTest(); Console.ReadLine(); Console....
qscott86's user avatar
  • 323
0 votes
0 answers
55 views

OutOfMemoryError while streaming 20M+ rows in Spring Boot with Hibernate Issue I’m streaming 20M+ rows from my Content table using a Stream<Object[]> in Spring Boot with Hibernate. However, I ...
shubh gupta's user avatar
0 votes
1 answer
60 views

I'm m debugging a .Net process for a possible memory leak. The command !address -summary shows: 0:000> !address -summary --- Usage Summary ---------------- RgnCount ----------- Total Size -------- ...
Phiber's user avatar
  • 1,103
0 votes
0 answers
116 views

A simple keyboard extension app showing continuous heap memory allocation each time open the keyboard on screen. For easier understanding see the image below... Here is the KeyboardViewController: ...
Asim Roy's user avatar
  • 10.3k
-1 votes
1 answer
54 views

I have a microservice that generates multiple PDF Documents and saves to database. For generating each document, from the main service class, I call multiple document specific service class methods by ...
Rey Rajesh's user avatar
1 vote
1 answer
202 views

Background to the Application: We have a Java WebApp on a Tomcat Server for multiple users. We have 30+ customers servers running. Problem: On one particular customer we run into a strange phenomenon ...
berni's user avatar
  • 11
1 vote
0 answers
44 views

I am trying to implement a simple memory allocator. Essentially trying to copy the function malloc() and free(void *ptr) in C. I initialize a region of memory using sbrk(). In my custom malloc ...
Kamrul Hassan's user avatar
0 votes
0 answers
25 views

What are the best practices and tools for performing a memory profile on a React.js frontend and a Strapi backend application? How can I identify memory leaks, optimize memory usage, and ensure ...
Sumanth G S's user avatar
0 votes
0 answers
42 views

I have an app written in C++ (Windows) which also used some third party libraries. In the app there are many news/deletes together with mallocs and frees. Now I met with a bug that some data on the ...
Nekomiya Kasane's user avatar
1 vote
0 answers
212 views

I have a springboot microservice (updated to spring-boot-starter-parent 3.4.0) that is run on a schedule every 5 minutes that checks a database table (oracle jdbc driver 19.20.0.0) for new task ...
petula's user avatar
  • 149
2 votes
2 answers
84 views

Consider a struct like this: struct ExampleStruct { public int ID; public List<ExampleStruct> children; } Would the following line of code create an object on the heap? ExampleStruct ...
Amos Egel's user avatar
  • 1,240
0 votes
1 answer
85 views

I have a class which have certain instance variables. I am getting random crashes when i run my application. Thinking memory corruption, I ran the application under valgrind, and I am able to narrow ...
Abhishek Sagar's user avatar
2 votes
4 answers
476 views

I have some hierarchy (through composition, not inheritance) of classes: Child and Parent. Child can have multiple parents, also Parent could do the same. I want the Child class lifetime being managed ...
Supreme Machine's user avatar
0 votes
0 answers
188 views

I'm encountering a java.lang.OutOfMemoryError when trying to resize large images using the Thumbnailator Dependency in Springboot. My heap size is limited to -Xms256m -Xmx512m, and I believe the issue ...
Chathuran D's user avatar
  • 2,436
1 vote
4 answers
160 views

If each process has its own address space and it is much larger than the physical memory of the computer, why can’t we just place the stack at the end of this address space and the heap at the ...
omnit's user avatar
  • 13
0 votes
0 answers
95 views

During Kafka's work, we noticed that the Garbage Collector was freeing up less and less memory. memory leak We are using a kafka cluster with three brokers with the following settings: POD_NAME: ...
Roman's user avatar
  • 1
0 votes
1 answer
149 views

I want to write a function that will read a text file, and return its lines as an array of strings for further processing. To this end, I am trying to get my head around correctly handling an N-length ...
tk-noodle's user avatar
  • 402
0 votes
1 answer
48 views

We have a C++ multi-threaded application with shared libraries, running on linux x86_64 (debian-12, kernel 6.1.xx) and on a raspberry pi 5 ( arm64, debian-12, kernel 6.3.xx ). If I lock at /proc/$pid/...
Bernd Benner's user avatar
0 votes
1 answer
91 views

In Chapter 5.2 of the 3rd edition of A Tour of C++, Bjarne write this about concrete types. What I don't understand is what the flexibility is. Is he referring to the use of pointers in concrete ...
heretoinfinity's user avatar

1
2 3 4 5
134