CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Posts
    5

    How to increase JVM stack size

    I need to increase JVM stack size. I have tried using -Xss option, still the application throwing 'Stack Overflow' exception. When i increse stack using EDITBIN /STACK:1048576 java.exe, the test succeeds.
    Is there anyway to increase the stack size other than '-Xss' and EDITBIN options?

  2. #2
    Join Date
    Sep 2004
    Posts
    247

    Re: How to increase JVM stack size

    What exactly is the error you are getting? Is Java producing a log file with more details? Are you running memory intensive threads?

  3. #3
    Join Date
    Oct 2003
    Location
    .NET2.0 / VS2005 Developer
    Posts
    7,104

    Re: How to increase JVM stack size

    i'm with davy.. the first recourse in any program that generates a stackoverflow should be to examine the root cause of the problem rather than throw more memory at it..
    "it's a fax from your dog, Mr Dansworth. It looks like your cat" - Gary Larson...DW1: Data Walkthroughs 1.1...DW2: Data Walkthroughs 2.0...DDS: The DataSet Designer Surface...ANO: ADO.NET2 Orientation...DAN: Deeper ADO.NET...DNU...PQ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured