Clear Filters
Clear Filters

compare files stopped working after upgrading to Catalina

4 views (last 30 days)
The file compare status indicates that the compare is complete but no results are shown. Then a spinning wheel appears and continues.
Eileen Dukes
Eileen Dukes on 7 Jan 2020
When I hit compare (in the pop-up), the Comparison viewer opens and a message briefly appears that the compare is complete but the page is blank. A blue spinning wheel appears. After a while, a pop-up appears with the error "java.util.concurrent.TimeoutException: Timeout waiting for task.". It appears that it can't find the java code. Is there a way to download/link the Java code without having to redownload and install Matlab?

Sign in to comment.

Answers (2)

Roshni Garnayak
Roshni Garnayak on 8 Jan 2020
Try increasing the Java Heap memory. The error might be occurring due to not enough memory.
To increase the Java heap memory, refer to the following documentation:
  1 Comment
Lorena Escudero
Lorena Escudero on 8 Jan 2020
I have exactly the same problem, trying to use visdiff(first_dir, second_dir) on MATLAB R2019b with MacOS Catalina (10.15.2) gives that error and the behaviour described by Eileen. It is not fixed when increasing the Java heap memory to the maximum (4096MB).
Any other ideas?

Sign in to comment.

Eileen Dukes
Eileen Dukes on 8 Jan 2020
When I search for the Java source code, I don't find it. When I type "version -java" into Matlab, I get "'Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode'. However, when I do a search on Java 1.8.0, nothing is returned. The crash log shows the following:
Illegal instruction detected at Sun Dec 29 13:00:54 2019 -0700
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : ISO-8859-1
Deployed : false
Graphics Driver : ATI Technologies Inc. AMD Radeon Pro 580X OpenGL Engine Version 2.1 ATI-3.2.24
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : maci64
MATLAB Entitlement ID : 6601371
MATLAB Root : /Applications/
MATLAB Version : (R2019b) Update 1
OpenGL : hardware
Operating System : Mac OS Version 10.15.1 (Build 19B88)
Process ID : 87859
Processor ID : x86 Family 6 Model 158 Stepping 13, GenuineIntel
Session Key : dde20636-b5e7-42c0-8832-f4136f9f85b9
Window System : Quartz
Fault Count: 1
Abnormal termination:
Illegal instruction
  1 Comment
Eileen Dukes
Eileen Dukes on 9 Jan 2020
I downloaded and reinstalled Matlab 2019b hoping it would reinstall java. Now Matlab won't open without use of a terminal window. When I try to open it directly, it just hangs. The worst part is that it didn't fix the compare function!

Sign in to comment.


Find more on Startup and Shutdown in Help Center and File Exchange





Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!