/
How to clear Java cache and empirecache

How to clear Java cache and empirecache



Description of Issue

How to clear java and empirecache folders from a users workstation when:

  • Errors received when attempting to launch the CM Full client:
    ...is locked by something else. Please close other Java processes that may be holding your empirecache.

  • Errors received within the full client when completing certain processes such as batch scanning:
    An unexpected error has occurred. Java heap space
    Self-suppression not permitted caused by java.lang.OutOfMemoryError: Java heap space

  • The empirecache folder itself has grown in size or is outdated based on a Content Manager upgrade.



Context
  • Content Manager

  • CM

  • CM Full Client 



Cause

Occasionally the CM Full Client will hang up or get stuck on certain processes, such as batch scanning.
This may be an indication that the background cache used by Content Manager on the workstation needs to be cleared in order for the process to complete.



Resolution
  • Clearing empirecache:

    • You will need to log out of the CM Full Client before completing these steps

  1. On your PC, navigate to File Explorer > C:\Users\yourusername

  2. Right-click on the empirecache folder

  3. Click Delete

  4. Right-click on the Recycle Bin icon on the desktop and click Empty Recycle Bin


If using Direct Launch and Java/JRE is installed on the users workstation:

  • Clearing Java Cache:

    • If you are using the Jlink option to launch CM, this step is not necessary

    • This is only necessary if you are using the Webstart option to launch the CM Full Client, which uses Java. 

  1. On your PC > Start

  2. Search for and open the Control Panel > Programs > Java > Settings (under General tab)

  3. Select Delete Files

  4. Leave all pre-checked options selected

  5. Click OK

  6. Right click on the Recycle Bin icon on the desktop and click Empty Recycle Bin




Additional Information