Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27702

[opinion] javac's default stack space

From Andreas Leitgeb <avl@auth.logic.tuwien.ac.at>
Newsgroups comp.lang.java.programmer
Subject [opinion] javac's default stack space
Date 2014-03-09 14:25 +0000
Organization A noiseless patient Spider
Message-ID <slrnlhoufj.rhr.avl@login.logic.tuwien.ac.at> (permalink)

Show all headers | View raw


I recently got some Java sources that caused "javac" on
my machine (Linux, Java 1.7, 32bit) to run out of stack
space, while compiling fine on AIX, Java 1.7, 64bit.

I then played with option -J-Xss# and a couple of values
for #, and found that up to about 350k it busted, while
with 360k or more it compiled just fine. My actual problem
is thus solved, but now I'm wondering...

While 32bit platforms themselves may almost be considered
as relicts from last millennium (ok: last decade), even
back then I'd have expected that allowing half a megabyte
for stack wouldn't have been considered overly wasteful.

Has anyone else run into javac's default stack size limit?

Does anyone else have any insight about what features of 
Java sources are likely culprits for stack usage peaks?

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-09 14:25 +0000
  Re: [opinion] javac's default stack space Robert Klemme <shortcutter@googlemail.com> - 2014-03-10 18:33 +0100
    Re: [opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-10 21:02 +0000
      Re: [opinion] javac's default stack space Robert Klemme <shortcutter@googlemail.com> - 2014-03-11 23:19 +0100
    Re: [opinion] javac's default stack space "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-03-11 19:56 +0000
      Re: [opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-12 00:53 +0000
        Re: [opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-23 20:37 +0000
  Re: [opinion] javac's default stack space Arne Vajhøj <arne@vajhoej.dk> - 2014-03-10 21:21 -0400
    Re: [opinion] javac's default stack space Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-03-11 14:16 +0000
      Re: [opinion] javac's default stack space Arne Vajhøj <arne@vajhoej.dk> - 2014-03-11 18:05 -0400
        Re: [opinion] javac's default stack space Robert Klemme <shortcutter@googlemail.com> - 2014-03-11 23:22 +0100
          Re: [opinion] javac's default stack space Arne Vajhøj <arne@vajhoej.dk> - 2014-03-11 19:50 -0400

csiph-web