WriteFile failed with error 112

12 Ansichten (letzte 30 Tage)
Venkata Narendra
Venkata Narendra am 25 Mär. 2021
Kommentiert: Anirban am 1 Apr. 2021
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.

Antworten (1)

Anirban
Anirban am 26 Mär. 2021
Bearbeitet: Anirban am 26 Mär. 2021
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 Kommentare
Venkata Narendra
Venkata Narendra am 27 Mär. 2021
Bearbeitet: Venkata Narendra am 29 Mär. 2021
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 am 1 Apr. 2021
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.

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by