What's New in Retrospect – Retrospect Backup 19 + Retrospect Virtual 2022 + Retrospect Cloud Storage

Retrospect Virtual - Error: java.lang.OutOfMemoryError: Java heap space

Virtualization



title: "Retrospect Virtual - Error: java.lang.OutOfMemoryError: Java heap space" created_at: 2020.02.05 updated_at: 2020.02.05 category: Virtualization --- If you are getting an error from your Retrospect Virtual backup logs that state “java.lang.OutOfMemoryError: Java heap space”, please do the following:

  1. From the machine where Retrospect Virtual Host Server is installed, press Windows key + R to open the run command, type services.msc and hit OK.

  2. Stop the Retrospect Virtual Host Server Services.

  3. Go to C:\Program Files\RetrospectVHS and make a copy of config.ini (or config if listed).

  4. Right click on config.ini and edit it with a text editor.

  5. Change app.system.ui.vm.opt.xmx=2048 to app.system.ui.vm.opt.xmx=4096 and save the config file.

  6. Go to C:\Program Files\RetrospectVHS\bin and make a copy of RunCB.bat (or RunCB if listed).

  7. Right click on RunCB.bat and edit it with a text editor.

  8. Find the section with the following:

    SET "DEP_LIB_PATH=X64"
    SET JAVA_OPTS=-Xms128m -Xmx2048m -
    XX:MaxDirectMemorySize=1024m
    (Note: There are two sections here that are similar, one that is X86 and one that is X64, we need to edit the X64 section – see below)

  9. Change the Xmx2048 to Xmx4096 and then save the bat file.

  10. Go back to services.msc, start the Retrospect Virtual Host Server Services and try your backup again.


Last Update: February 5, 2020