A couple of examples:
RHEL 6.3, wine 1.4.1, Java 6, 12GB
largest accepted: -Xmx320m
Ubuntu 11.04, wine 1.2.2, Java6, 32G
largest accepted: -Xmx1152m
Is there a way to get larger max heap sizes for Java under Wine?
Why is it so limited?
(unfortunately, running Java directly under Linux is not an option)
RHEL 6.3, wine 1.4.1, Java 6, 12GB
Code: Select all
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)
$ uname -a
Linux vmtest 2.6.32-279.11.1.el6.x86_64 #1 SMP Sat Sep 22 07:10:26 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
$ wine --version
wine-1.4.1
$ wine java -version
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) Client VM (build 20.10-b01, mixed mode)
$ wine java -Xmx1024m
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
$ wine java -Xmx512m
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
$ wine java -Xmx384m
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
$ wine java -Xmx320m
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
...
Code: Select all
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
$ uname -a
Linux tesla 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 17:58:38 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ wine --version
wine-1.2.2
$ wine java -version
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) Client VM (build 20.10-b01, mixed mode, sharing)
$ wine java -Xmx2048m
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
$ wine java -Xmx1536m
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
$ wine java -Xmx1280m
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
$ wine java -Xmx1152m
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
...