From: Nasser M. Abbasi on
Warning, do not run this before saving your work:

In[1]:= ClearAll["Global`*"];

expr = 0.20056791381984598*I*E^((-2.3120000000000003 -
2.4929211780559766*I)*n) -
0.20056791381984598*I*E^((-2.3120000000000003 + 2.4929211780559766*I)*n);

ZTransform[expr, n, z, Method -> "Holonomic"]

*kernel crash*

But when I do

ZTransform[expr, n, z]

I was getting errors General::lrgexp, but no crash.

The above is an expression generated internally from a program I am working
on, depending on the input parameters, sometimes I get these errors and
sometimes I do not, since the expr will be different each time depending on
the parameters that are entered.

So I was trying to find where the error was coming from. I do not really
understand why this error message is coming. Must be something internal to
Ztransform.

I will send a bug report to WRI support also.

--Nasser