wenn ich versuche, die jdk1.8.0_65-b17 in win7 zu starten, mit Befehl wie: javac Test.java
, nimmt das Java mehr und mehr physischen Speicher bis 99%, aber es kann nicht starten.kann nicht starten jdk 1.8.0_65-b17
Bekommt jemand dieses Problem schon einmal?
C:\Program Files\Java\jdk1.8.0_65\bin>java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
BTW, es dauert fast eine Minute, um diese Versionsinformationen zu drucken.
C:\Program Files\Java\jdk1.8.0_65\bin>java -Xshare:dump Allocated shared space: 37879808 bytes at 0x0000000800000000 Loading classes to share ... Loading classes to share: done. Rewriting and linking classes ... Rewriting and linking classes: done Number of classes 2482 instance classes = 2468 obj array classes = 6 type array classes = 8 Calculating fingerprints ... done. Removing unshareable information ... done. Shared Lookup Cache Table Buckets = 8216 bytes Shared Lookup Cache Table Body = 64792 bytes ro space: 6881424 [ 36.3% of total] out of 16777216 bytes [41.0% used] at 0x0000000800000000 rw space: 10456280 [ 55.2% of total] out of 16777216 bytes [62.3% used] at 0x0000000801000000 md space: 1562448 [ 8.3% of total] out of 4194304 bytes [37.3% used] at 0x0000000802000000 mc space: 34053 [ 0.2% of total] out of 131072 bytes [26.0% used] at 0x0000000802400000 total : 18934205 [100.0% of total] out of 37879808 bytes [50.0% used] An error has occurred while processing the shared archive file. Unable to create shared archive file C:\Program Files\Java\jdk1.8.0_65\jre\bin\server\classes.jsa. Error occurred during initialization of VM Unable to use shared archive.
Inzwischen fand ich viel von "TBM ***. Tmp" Datei in den Ordner "\ jdk1.8.0_65 \ jre \ lib \ ext \", über 40G total, jemand Vertrautes dies tut?
'javac Test.java', ich habe meinen Beitrag korrigiert. Ich habe 8G RAM, 50% normal verwendet, sollte nicht das kleine Speicherproblem sein. –
Haben Sie irgendwelche Diagnoseoptionen versucht, z. '-verbose' oder' -Xdiag'? – Holger
habe ich gerade getan. versuchte '-Xdiag' nichts wie zuvor geloggt. –