4,250 questions
9
votes
1
answer
104
views
How to implement a destructor for an n-ary graph node that won't cause a stack overflow?
I'm working on modernizing an older C++ code base that contains a simple graph structure. It originally looked like the following:
struct node_value_t {
...
};
struct dag_node {
std::vector<...
0
votes
1
answer
43
views
What is the appropriate value of the jvm -Xss parameter?
How does the -Xss play a key role in java program?
The size of the stack directly affects the program running.
As I know -Xss decides the thread stack size of jvm, includ local variables, operand ...
0
votes
1
answer
34
views
Assistance With Understanding Stack Over Flow Errors (Julia - GLMakie Package)
Below is my code:
using GLMakie
#Creation of constants
a = 2
b = 5
c = 7
d = 9
# Creaiton of observables
RadTheta2_2 = Observable(.523)
RadTheta3_12 = Observable(-1.288)
RadTheta4_12 = Observable(-2....
1
vote
0
answers
39
views
A lambda continuation with a generic type does not produce a stack overflow, but when I specify the type it results in a stack overflow. Why?
In a program I'm writing, I'm faced with a recursive type that I want to go through recursively (it seems necessary). Out of curiosity, I wanted to try and write a tail recursive version of my code, ...
0
votes
1
answer
53
views
Stack Overflow on Quicksort with a first element pivot in Java
For this assignment I'm supposed to test my quicksort class using a variety of different pivots and a variety of ArrayLists in different arrangements. The class works fine with a random pivot, or a ...
0
votes
2
answers
107
views
Getting an infinite recursion error in java
I cannot find the reason why my code doesn't work. It keeps saying that there's a infinite recursion error. I'm basically trying to solve a maze recursively.
The start and end of the maze are ...
2
votes
0
answers
145
views
Why is there a StackOverflowException with ConfigureAwait(false) in an ASP.NET app but not with ConfigureAwait(true)?
I have an ASP.NET app running on .NET 4.8. I am getting a StackOverflowException. I have an action method that calls another method CallBackMethod where using ConfigureAwait(false) in a statement that ...
0
votes
0
answers
66
views
Why does a Pyside6 GUI crash after making multiple calls to matplotlib flush_events() in quick succession?
I would be very grateful for your help in explaining why this Pyside6 GUI crashes when making multiple calls to matplotlib's flush_events() method in quick succession. Minimal reproduceable code is ...
0
votes
1
answer
115
views
Stack Overflow with BFS LISP
I have created a search function following the BFS algorithm but found a problem, it works fine on other problem domains but on this problem domain I am only getting stack overflows.
This specific ...
1
vote
1
answer
47
views
Error java.lang.StackOverflowError occur if I don't explicitly set -XX:ThreadStackSize
Error java.lang.StackOverflowError occur if I don't explicitly set -XX:ThreadStackSize.
As I do some research, the default value of ThreadStackSize is 1024K without explicitly set it. The confusing ...
1
vote
2
answers
177
views
Getting a stack overflow with too many concat
When I create a query on a DbSet with too many Concat or Where clauses, I get a stack overflow error.
Essentially I have the problem where I have a list of thousands of AND clauses all connected with ...
0
votes
0
answers
56
views
How to prevent thread::Builder overflowing the stack
My application throws a stack overflow exception, so I added the stacker crate, and put debug statements in various places that print the amount of stack space remaining. This narrowed down the ...
1
vote
1
answer
65
views
Intermittent stack overflow error in a spring boot application
We are in the middle of a testing. On one specific setup, we see the following error:
Servlet.service() for servlet [dispatcherServlet] in context with path [/] threw exception [Handler dispatch ...
0
votes
0
answers
74
views
manually modifying stack pointer inside a kernel module aarch64
I am writing a kernel module in Linux, on aarch64 architecture, that has, as a global, a structure. I am working on a Pixel 8 device (shiba), with callyxos, AOSP (android open source project) kernel [...
0
votes
1
answer
82
views
Comparison of CPU usage in multi-threaded monolithic applications vs. microservices in Docker containers [closed]
Regarding the efficiency of CPU usage in Dockerized environments for monolithic applications compared to microservices-based designs. Specifically:
Would running multiple threads within a single ...