Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

hello/run.sh


#!/bin/bash

export FUZION="java -Xss4m -Xmx512m -cp ../../work/build/classes dev.flang.tools.Fuzion"

echo -n `date +"%F_%R:"` >>log.txt

/usr/bin/time -a -olog.txt -f " elapsed/sec %e max_memory/K %M" $FUZION  HelloWorld

# OpenJDK on valgrind crashes:
#
# valgrind --tool=massif --massif-out-file=massif.out $FUZION HelloWorld; cat massif.out | grep mem_heap_B | sort -t\= -k2,2 | tail -n1