Effacer les filtres
Effacer les filtres

WriteFile failed with error 112

13 vues (au cours des 30 derniers jours)
Venkata Narendra
Venkata Narendra le 25 Mar 2021
Commenté : Anirban le 1 Avr 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.

Réponses (1)

Anirban
Anirban le 26 Mar 2021
Modifié(e) : Anirban le 26 Mar 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 commentaires
Venkata Narendra
Venkata Narendra le 27 Mar 2021
Modifié(e) : Venkata Narendra le 29 Mar 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 le 1 Avr 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.

Connectez-vous pour commenter.

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by