1Z0-133 practice question 6 of 25
You are running WebLogic Server under a 64-bit HotSpot JVM. You edit your domain’s setDomainEnc.sh script to update the minimum and maximum heap…
Full set: 126 questionsThe server fails to start because the Java Virtual Machine (JVM) does not recognize the unit "meg" for specifying memory size. The error message Invalid initial heap size: -Xms32meg indicates a syntax or parsing error by the JVM when interpreting the startup parameters. The standard syntax for specifying memory in megabytes for HotSpot JVM options like -Xms (initial heap size) and -Xmx (maximum heap size) requires using the suffix m or M. The correct format should be -Xms32m and -Xmx150m.
A. There is no mandated 64 MB minimum heap size for a 64-bit JVM. The error is a syntax parsing failure, not a violation of a minimum size requirement.
B. While setting the minimum and maximum heap sizes to the same value is a common performance tuning recommendation, it is not a requirement for the JVM to start.
D. JVM memory parameters are not restricted to kilobytes. They can be specified in kilobytes (k or K), megabytes (m or M), and gigabytes (g or G).
E. The correct syntax for the -Xms and -Xmx options does not include a colon (:) between the flag and the value.
1. Oracle Java SE 8 Documentation
java command: "The -Xms and -Xmx options set the initial and maximum sizes of the heap. ... To specify a size in megabytes
append the letter m or M. To specify a size in gigabytes
append the letter g or G. To specify a size in kilobytes
append the letter k or K."
Source: Oracle
"java - the Java application launcher
" Java Platform
Standard Edition Tools Reference for Oracle JDK 8
Section: "Non-Standard Options".
2. Oracle WebLogic Server 12c Documentation
Performance and Tuning: The official documentation provides examples of setting the heap size
consistently using the m suffix for megabytes. For instance
it shows MEMARGS="-Xms512m -Xmx1024m". This confirms the standard JVM syntax is expected within the WebLogic environment.
Source: Oracle
"Tuning the JVM" in Tuning Performance of Oracle WebLogic Server 12.2.1.4.0
Section: "Specifying Heap Size Values".
Keep practicing
Take the free 1Z0-133 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-133 practice questions
- Question 1Your domain consists of 30 servers. You are using the Administration Console. Which is th…
- Question 2Before you view JVM performance information in the administration console, you want to re…
- Question 3You create a new Managed Server in your domain by using the administration console. You g…
- Question 4An application fails. The exception Indicates that the JDEM data source cannot be found. …
- Question 5Consider a data source whose Inactive Connection Timeout has been set to 60 seconds. You …
- Question 7You are using the Embedded LDAP that is supplied by Oracle WebLogic Server. Which three s…
