"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!