"java.lang.StackOverflowError" occured when comparing slx models.
4 views (last 30 days)
Show older comments
Hello.
When comparing Simulink models, "java.lang.StackOverflowError" occured as shown below:![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/753234/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/753234/image.png)
Could you tell me what I should do to avoid this error ?
I guess that this error happens because size of the models I try to compare are too big to compare.
Size of these models is 1.5 [MB].
Actually, when I divide the models into some subsytems to decrease their size and comapre these models again,
This error donen't occur.
What I did to solve this problem:
・Increasing Java heap memory to maximum size: 4077 [MB] ,rebooting MATLAB and comparing models again
・Rebooting PC and comparing models again without launching any other applications
Environment:
・OS: Windows 10 Pro
・Memory: 16 [GB]
・MATLAB: 9.5 R2018b
・MATLAB Report Generator: NOT installed
・Simulink: 9.2 R2018b
・Java: 1.8.0_301
It's OK to answer this question by English or Japanese.
Best regards,
0 Comments
Answers (0)
See Also
Categories
Find more on LEGO MINDSTORMS EV3 Hardware 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!