This is a good idea to improve the doc. I created https://issues.apache.org/jira/browse/DAFFODIL-2485 issue so this gets tracked. ________________________________ From: Attila Horvath <attila.j.horv...@gmail.com> Sent: Monday, March 15, 2021 7:06 AM To: users@daffodil.apache.org <users@daffodil.apache.org> Subject: Re: Exception in thread "main" java.lang.StackOverflowError
Steve S. Did as you'd suggested - works as advertised. Thank you. I'd like to find/have full documentation of 'JAVA_OPTS' for future reference and use so I don't have to bother user community unnecessarily. I've looked at: * https://daffodil.apache.org/cli/ * https://cwiki.apache.org/confluence/display/DAFFODIL/Java+Setup+and+Notes Above links don't appear to list all JAVA_OPTS. Where can I get description/specifications of all relevant Daffodil options as they relate to JAVA? Thx in advance, attila On 2021/03/12 16:14:45, Stephen Sullivan <c...@gmail.com<mailto:c...@gmail.com>> wrote: > Attila,> > > Just downloaded the 3.0 script. Looking at the daffodil script it> > appears to be using the default stack size for the JVM (I believe this is> > 1M)> > > JOPTS="-Xms1024m -Xmx1024m -XX:ReservedCodeCacheSize=128m"> > > If you specify JAVA_OPTS before running the command it looks like you could> > customize your memory settings.> > > export JAVA_OPTS='-Xss2M -Xms1024m -Xmx1024m> > -XX:ReservedCodeCacheSize=128m' daffodil ...> > > -Steve> > > > On Fri, Mar 12, 2021 at 10:53 AM Attila Horvath > <at...@gmail.com<mailto:at...@gmail.com>>> > wrote:> > > > All> > >> > > Per subject, encountered stack overflow error running Daffodil 3.0 running> > > on Debian virtual machine w/ 8GB memory. Also tried w/ 16GB memory - same> > > result.> > >> > > Input CSV file consists of pipe ["|"] delimited values: 79 records, 595> > > fields per record. I suspect the large number of fields per record is the> > > root cause for blowing stack perhaps due to recursion.> > >> > > Pls advise what if anything else I can provide. See note below for log> > > files too big to attach.> > >> > > 1. What is Daffodil's default stack size?> > > 2. If possible, how to increase?> > >> > > NOTE: Steve - pls see follow up email addressed to > > "slawre...@apache.org<mailto:slawre...@apache.org>"> > > for instructions to pick up log files via DoD-Safe. 'ebasd-gl-vvv.log' with> > > verbose logging.> > >> > > Thx in advance,> > >> > > Attila> > >> > > > -- > > > -> > > To err is human; to forgive, beyond the scope of the Operating System.> >