EXCEPTION_STACK_OVERFLOW
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alhag_Jameer
Posted On:   Tuesday, August 27, 2002 04:01 PM

When I run my Java application (which parses 150,000 input file records & formats to a different structure & then writes to an output file) I am getting the error in between the process as

"# An EXCEPTION_STACK_OVERFLOW exception has been detected in native code outside the VM
#Program Counter = 0x6c5b3d2b"

Immediately after that the application is aborted.

Can anyone know & tell me what will be the cause for that?

Thanks in advance.

Regards,
Jameer

Re: EXCEPTION_STACK_OVERFLOW

Posted By:   chris_moran  
Posted On:   Saturday, August 31, 2002 04:27 PM



wow.. and you're parsing a 150,000 line file using Java why?
you can do the same thing in C in about 20 lines of code,
make a exec() call from your java app and be on
your merry way..

Re: EXCEPTION_STACK_OVERFLOW

Posted By:   eimi_nos  
Posted On:   Tuesday, August 27, 2002 04:19 PM

In the section 3.5.6 "Native Method Stacks" of


http://java.sun.com/docs/books/vmspec/2nd-edition/html/Overview.doc.html#15637


it is stated like this, "If the computation in a thread requires a larger native method stack than is permitted, the Java virtual machine throws a StackOverflowError."
About | Sitemap | Contact