WriteFile failed with error 112

9 ビュー (過去 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