I don't know if there is any documentation on the default values used by Daffodil but there is a brief description on how to provide your own settings here:
https://daffodil.apache.org/cli/ Regards, Steve On Fri, Mar 12, 2021 at 11:20 AM Horvath, Attila J CTR (USA) < attila.j.horvath....@mail.mil> wrote: > Thx Steve > > Where are these JAVA options documented? URL? > > Thx again > > attila.j.horvath....@mail.mil > ahorv...@asrcfederal.com > 301.225.9879 : ☎: office/desk > 301.225.9600 : ☎: office/floor > 410.357.1364 : ☎: home/cell > > > -----Original Message----- > From: Stephen Sullivan <catalyst7...@gmail.com> > Sent: Friday, March 12, 2021 11:15 AM > To: users@daffodil.apache.org > Cc: Steve Lawrence <slawre...@apache.org>; Horvath, Attila J CTR (USA) < > attila.j.horvath....@mail.mil> > Subject: [Non-DoD Source] Re: Exception in thread "main" > java.lang.StackOverflowError > > All active links contained in this email were disabled. Please verify the > identity of the sender, and confirm the authenticity of all links contained > within the message prior to copying and pasting the address to a Web > browser. > > > ________________________________ > > > > 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 < > attila.j.horv...@gmail.com < Caution-mailto:attila.j.horv...@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 < Caution-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. > -- - To err is human; to forgive, beyond the scope of the Operating System.