Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Simulating & troubleshooting StackOverflowError in Scala

In this series of Simulating and troubleshooting performance problems in Scala, let’s discuss how to simulate Stackoverflowerror. StackOverflowError is a runtime error, which is thrown, when a thread’s stack size exceeds its allocated memory limit.  Sample Program Here is a sample Scala program, which generates the StackOverflowError: package com.yc class StackOverflowApp { } object StackOverflowApp ...



This post first appeared on Java Code Geeks, please read the originial post: here

Share the post

Simulating & troubleshooting StackOverflowError in Scala

×

Subscribe to Java Code Geeks

Get updates delivered right to your inbox!

Thank you for your subscription

×