WriteFile failed with error 112

조회 수: 7 (최근 30일)
Venkata Narendra
Venkata Narendra 2021년 3월 25일
댓글: Anirban 2021년 4월 1일
I am encounter the error "WriteFile failed with error 112" while using the Polyspace Code Prover for doing the static analysis.
Please help to resolve the issue.

답변 (1개)

Anirban
Anirban 2021년 3월 26일
편집: Anirban 2021년 3월 26일
This is a Windows error that seems to be associated with a disk being almost full or corrupted files. Is it possible that your results folder is in a disk that is almost getting full?
  댓글 수: 2
Venkata Narendra
Venkata Narendra 2021년 3월 27일
편집: Venkata Narendra 2021년 3월 29일
Hi Anirban,
Yes, my application has so many files and having array of recursive structures, so Polyspace tool is taking too much memory(30GB) to run the analysis.
Can you suggest any better solution?
Thanks
Anirban
Anirban 2021년 4월 1일
The product provides you various strategies for reducing memory usage. All these strategies focus on modularizing the analysis in some way or another. For more information, see Reduce Analysis Time and Memory Usage.
Your best bet is, if there is some existing modularization of your application, perhaps through targets in a makefile, you can leverage those for breaking up the Code Prover analysis into modules. See a simple example in Modularize Polyspace Analysis by Using Build Command.
However, it is often the case that strategies for modularizing that actually help are very specific to the codebase being analyzed. If you contact Technical Support, they can offer you solutions specific to your codebase. See Contact Technical Support.

댓글을 달려면 로그인하십시오.

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by