#!/bin/sh
# Start DXF Viewer with more memory
# The meaning of the options is as follows:
# -mx256m : maximum allowed memory (256 MBytes)
# -ms64m  : initially allocated memory (64 MBytes)
# -XX:MaxTenuringThreshold=0 : special setting for the
#	garbage collector which tells it that the viewer
#	is using objects either shortly or for a quite long
#	duration. As a result it does less internal copying 
#	which speeds up loading of larger files by 10-30%
# -jar    : run the jar file which follows
java -XX:MaxTenuringThreshold=0 -ms64m -mx256m -jar dxfviewer-swing.jar "$@"
