Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac: jdk_management : com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.java failed with Execution failed: `main' threw exception: java.lang.RuntimeException: Committed virtual memory size illegal value: 4480126976 bytes (MIN = 1; MAX = 3221225472) #134

Closed
sophia-guo opened this issue Oct 4, 2017 · 2 comments

Comments

@sophia-guo
Copy link
Contributor

21:44:39 ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Committed virtual memory size illegal value: 4480126976 bytes (MIN = 1; MAX = 3221225472)
21:44:39 REASON: Assumed action based on file name: run main GetCommittedVirtualMemorySize 
21:44:39 TIME:   0.018 seconds
21:44:39 messages:
21:44:39 command: main GetCommittedVirtualMemorySize
21:44:39 reason: Assumed action based on file name: run main GetCommittedVirtualMemorySize 
21:44:39 Mode: agentvm
21:44:39 Agent id: 0
21:44:39 elapsed time (seconds): 0.018
21:44:39 configuration:
21:44:39 Boot Layer
21:44:39   class path: /Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar
21:44:39               /Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar
21:44:39               /Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar
21:44:39 
21:44:39 Test Layer
21:44:39   class path: /Users/jenkins/workspace/openjdk8_test_x86-64_macos/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.d
21:44:39               /Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdk-test/OpenJDK_Playlist/openjdk-jdk/jdk/test/com/sun/management/OperatingSystemMXBean
21:44:39 
21:44:39 rerun:
21:44:39 HOME=/Users/jenkins \
21:44:39 PATH=/bin:/usr/bin \
21:44:39     /Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdkbinary/j2sdk-image/jre/bin/../../bin/java \
21:44:39         -Dtest.class.path.prefix=/Users/jenkins/workspace/openjdk8_test_x86-64_macos/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.d:/Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdk-test/OpenJDK_Playlist/openjdk-jdk/jdk/test/com/sun/management/OperatingSystemMXBean \
21:44:39         -Dtest.src=/Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdk-test/OpenJDK_Playlist/openjdk-jdk/jdk/test/com/sun/management/OperatingSystemMXBean \
21:44:39         -Dtest.src.path=/Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdk-test/OpenJDK_Playlist/openjdk-jdk/jdk/test/com/sun/management/OperatingSystemMXBean \
21:44:39         -Dtest.classes=/Users/jenkins/workspace/openjdk8_test_x86-64_macos/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.d \
21:44:39         -Dtest.class.path=/Users/jenkins/workspace/openjdk8_test_x86-64_macos/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.d \
21:44:39         -Dtest.vm.opts='-ea -esa -Xmx512m' \
21:44:39         -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \
21:44:39         -Dtest.compiler.opts= \
21:44:39         -Dtest.java.opts= \
21:44:39         -Dtest.jdk=/Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdkbinary/j2sdk-image/jre/bin/../.. \
21:44:39         -Dcompile.jdk=/Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdkbinary/j2sdk-image/jre/bin/../.. \
21:44:39         -Dtest.timeout.factor=4.0 \
21:44:39         -classpath /Users/jenkins/workspace/openjdk8_test_x86-64_macos/jvmtest/OpenJDK_Playlist/SE80/work/classes/1/com/sun/management/OperatingSystemMXBean/GetCommittedVirtualMemorySize.d:/Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdk-test/OpenJDK_Playlist/openjdk-jdk/jdk/test/com/sun/management/OperatingSystemMXBean:/Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdkbinary/j2sdk-image/jre/bin/../../lib/tools.jar:/Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdk-test/TestConfig/lib/jtreg/lib/javatest.jar:/Users/jenkins/workspace/openjdk8_test_x86-64_macos/openjdk-test/TestConfig/lib/jtreg/lib/jtreg.jar \
21:44:39         GetCommittedVirtualMemorySize
21:44:39 STDERR:
21:44:39 java.lang.RuntimeException: Committed virtual memory size illegal value: 4480126976 bytes (MIN = 1; MAX = 3221225472)
21:44:39 	at GetCommittedVirtualMemorySize.main(GetCommittedVirtualMemorySize.java:91)
21:44:39 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
21:44:39 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
21:44:39 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
21:44:39 	at java.lang.reflect.Method.invoke(Method.java:498)
21:44:39 	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
21:44:39 	at java.lang.Thread.run(Thread.java:748)
@sophia-guo sophia-guo added the mac label Oct 4, 2017
@karianna karianna added the bug label Oct 7, 2017
@smlambert smlambert added the java8 label Dec 2, 2017
@akolarkunnu
Copy link
Contributor

It is a duplicate of openjdk bug https://bugs.openjdk.java.net/browse/JDK-8031036.

@smlambert
Copy link
Contributor

Closing as now listed in summary issue #345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants