The .NET exception (error) that is thrown when the limited memory available for the execution stack is exhausted. This is almost always caused by an infinite recursion, which ultimately results in too many nested method calls.
0
votes
0answers
8 views
IIS/ASP.NET custom error pages on OOM/SO
We have some logic for displaying custom error pages in our ASP.NET application through overriding Page.OnError. Now, when an error occurs within that error handling routine I can redirect somewhere ...
2
votes
1answer
43 views
SQL Server 2012 upgrade: StackOverflowException with ExecuteReader()
SOLVED: This was not an issue with SQL Server but a recursive function that kept calling itself. /FACEPALM
I am currently running SQL Server 2005 and using this code below. All it does is get the ...
-2
votes
0answers
15 views
Error SystemStackOverflowException After run program
after run program show error "An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll"
pls help me tnx
RegistryKey Key = ...
1
vote
1answer
56 views
StackOverflowException on recursive anonymous funtions
I'm trying to write a function to check whether a string is a palindrome, and using this example, I'm trying to reverse the string using a recursive anonymous function:
static Boolean ...
0
votes
0answers
44 views
StackOverflowException using GSON in Java
I am using GSON to convert my custom objects into JSON formatted .txt files. My problem is that when I run all of the above code I get a StackOverflowException only because line 2 and line 4 are both ...
0
votes
0answers
16 views
XML serializing a tree with an enumerator
I am trying to serialize a tree structure where I have implemented IEnumerable. The enumerator for the tree is a simple preorder'ed stack as seen in the code listing below.
If I remove the ...
-1
votes
1answer
28 views
Stack overflow error when saving object into JSON
I have a custom class called Region. You can view the implementation at : https://github.com/quinnliu/WalnutiQ/blob/master/WalnutiQ/src/model/MARK_II/Region.java
I am trying to save the object into a ...
0
votes
0answers
56 views
java stackoverflowerror thrown in infinite loop
I have the following function that starts a jsvc daemon for receiving UDP messages:
@Override
public void start() throws Exception {
byte[] buf = new byte[1000];
DatagramPacket dgp = new ...
0
votes
2answers
37 views
StackOverflowExcpetion When Executing Command
I have created a Class which Inherits ICommand
Public Class RelayCommand(Of T)
Implements ICommand
Private ReadOnly m_oExecute As Action(Of T)
Private ReadOnly m_fCanExecute As ...
0
votes
0answers
76 views
WCF client process crashes with StackOverflow after many calls to WCF server
I have a WCF server which is working with database. It is working in single instance and multiple threads mode. Almost every method represents a simple operation to database. On the client side there ...
2
votes
3answers
52 views
StackOverFlowException thrown only when multi-threading
I'm writing a program to help me gather statistics for a research report I'm writing on password security. I decided to make the application run on multiple threads when attempted to brute-force an ...
1
vote
2answers
47 views
Stack overflow error when do a loop inside another loop
In a classic ASP function, when I do a loop inside another as shown in the code below I have a stack overflow error.
Function shift(x,y)
shift = x
For i = 1 to y
shift = shift*2
Next
End ...
0
votes
2answers
43 views
How to solve this StackOverflowError in this bad recursion example?
I'm having a programming issue related to bad recursion and StackOverflowError.
I've got this case in a separate thread:
public void subscribe(final String channel) {
try {
// blocking ...
0
votes
0answers
105 views
'System.StackOverflowException' occurred in WindowsBase.dll
Exception details does not have anything useful, it states
{Cannot evaluate expression because the current thread is in a stack overflow state.}
I've a complex Visual Tree structure in which several ...
0
votes
3answers
91 views
Finding the stack 'tipping point' in F#
Let's say I have a recursive function f(x) of the type int -> int.
It is expected that the greater x is, the more recursive calls f(x) will perform.
Given an infinite sequence of integers in an ...