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>
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"
> 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.

Reply via email to