"java.lang.StackOverflowError" occured when comparing slx models.
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LEGO MINDSTORMS EV3 Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!