Unable to compile IcedTea with CACAO under Fedora 17

Stefan Ring stefan at complang.tuwien.ac.at
Mon Dec 17 00:16:59 PST 2012


> The compile begins, but soon fails with the following:
> make[6]: Entering directory
> `/opt/icedtea7/openjdk/corba/make/tools/strip_properties'
> /opt/icedtea7/bootstrap/jdk1.6.0/bin/javac  -J-XX:ThreadStackSize=768
> -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput
> -J-client -J-Xmx1536m -J-Xms1536m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m
> -encoding ascii -source 6 -target 6 -d
> /opt/icedtea7/openjdk.build/corba/btclasses \
>     -sourcepath ../../tools/src
> ../../tools/src/build/tools/stripproperties/StripProperties.java
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
>
>
> I believe this machine should have enough memory:
> # free -m
>              total       used       free     shared    buffers     cached
> Mem:          4040       1699       2340          0        107       1183
> -/+ buffers/cache:        409       3630
> Swap:         5599          0       5599

Hmm, no idea. Works for me...

$ free -m
             total       used       free     shared    buffers     cached
Mem:          7986       7425        560          0        390       3504
-/+ buffers/cache:       3529       4456
Swap:         3796          0       3796

$ uname -a
Linux dumpl 3.6.8-2.fc17.x86_64 #1 SMP Tue Nov 27 19:35:02 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

$ ./bootstrap/jdk1.6.0/bin/javac -version
javac 1.7.0_09

$ ./bootstrap/jdk1.6.0/bin/java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (fedora-2.3.3.fc17.1-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)



More information about the distro-pkg-dev mailing list