question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Jordan Johnson commented

What would be the most likely cause for a "stack overflow detected" message?

I get the following system error message only in Replication 31 (of 48) and scenario 1 (of 2). If I run fewer than 31 iterations I do not get the error message.

My computer specifications are:

Thanks,

Tee

FlexSim HC 5.1.0
stack overflow
oelut.png (20.6 KiB)
z0jmq.png (6.0 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Jordan Johnson commented

Stack overflow is usually caused by too much recursion (i.e. a function calling itself too many times). However, why this is happening in your model is hard to guess without seeing your model. You can post it in a private question if you want someone to look at it.

You can also go the the explore tab of the experimenter, choose replication 31, and then run the model to see what happens in that replication.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jordan Johnson avatar image Jordan Johnson ♦♦ commented ·

This message can also be generated by a message sending loop.

1 Like 1 ·