File MediathekView.vmoptions of Package MediathekView

# Enter one VM parameter per line
# For example, to adjust the maximum memory usage to 512 MB, uncomment the following line:
# -Xmx512m, But -Xnx should no longer be used. This is an example!

# To include another file, uncomment the following line:
# -include-options [path to other .vmoption file]
#

# This are options from openSUSE and should not be changed:
--enable-preview
-Xms256M

# MediathekView recommendations from upstream:
-XX:+UseShenandoahGC
-XX:ShenandoahGCHeuristics=compact
-XX:+UseStringDeduplication
# Tune the percentage depending on your system memory
-XX:MaxRAMPercentage=08.0
--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED

# LookAndFeel
#-Djdk.gtk.version=2.2 <-- this is deprecated
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
-Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true

# Here you can put other options for example:
#-Dsun.java2d.uiScale=2
openSUSE Build Service is sponsored by