nerdexam
Oracle

1Z0-133 · Question #51

1Z0-133 Question #51: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-133 to reveal the answer and full explanation for question #51. The question stem and answer options stay visible for context.

Question

One Managed Server that is part of a large domain throws java.lang.out of Memory error (OOM) occasionally. You have been monitoring this server with the jvisualVM tool but that didn't help because the issue occurs in frequently and not a specific scenario. So you decided to force the server to dump the heap memory as soon as an OOM gets thrown in order to analyze the dump file later. How do you modify the Java HotSpot Startup command to enable this feature and save the dump in the directory D:\hprof-dumps?

Exhibit

1Z0-133 question #51 exhibit

Options

  • AAdd-xx:+DumpHeaponoutofmemory-xx:Dumppath=D:\hprof.
  • BAdd-xx:+HeapDumponoutofmemoryError-xx:Heapdumppath=D:\hprof-dumps.
  • CAdd-xx:+DumpHeaponoutofmemoryError-xx:Heappath=D:\hprof-dump.
  • DAdd-xx:+HeapdumponoutofMemory-xx:HeapDumppath=D:\hprof-dumps.
  • EAdd-xx:+HeapDumponoutofMemoryError-xx:Dumppath=D\hprof-dumps.
  • FAdd-xx:+HeapDumponoutofMemoryExecepttion-xx:HeapDumppath=D:\hprof-dumps.

Unlock 1Z0-133 to see the answer

You've previewed enough free 1Z0-133 questions. Unlock 1Z0-133 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-133 Practice