Recovering Files on Internal Errors

In order to prevent your work from accidentally spoiling and to enable you to save anything you have done during a session, an automatic saving mechanism is available (see the AutoSave area in the General category of the System Options): if you have not saved your changes by the time a specified time period has elapsed, the program automatically saves the current models in each active window.

A situation in which you might need to save your work, if you have not done so yet, is when an Internal Error should occur.

WARNING

Though this document will show you how to recover files from Internal Errors, please be aware that any file recovered after an Internal Error has occurred, whatever the way you recovered it, is potentially unsafe: you can use it at your own risk.

Be aware there is a possibility that using such files can cause unexpected damage to your work.

 Possible causes of Internal Errors

Internal errors may have several causes, but the most frequent are of the following two types:

  • Internal errors due to corrupted data
    When you load a file which contains corrupted data, you will probably get some "Internal error" messages even if you are performing very simple operations. The only thing to do is not to create, use, or "propagate" files containing corrupted data. There are some risky situations which make the probability to create and or use corrupted files grow. Files saved after an "Internal error" occurred may contain corrupted data. Great caution is to be used while dealing with these files.
    Files created loading different format files (IGES, VDA, STEP, DWG and DXF created with other CAD systems) may sometimes contain corrupted data. After any translation from a format different from the one of the product, you would better check the imported entities.
     
  • Internal errors due to the hardware resources
    The application needs proper RAM quantities to handle big models. Memory shortage or wrong memory release operations by the Operating System may generate "Internal error" messages with no apparent reason, even if the file contains no corrupted data. The RAM quantity must be at least twice the file dimension you have to handle. Both for the RAM quantity and the graphics card, it is recommended to adhere to the suggested "Minimum System Requirements".

    Please note that in all the situations in which the application may require large amounts of memory — for instance when working with large assemblies — you can exploit Microsoft® Windows additional memory addressing capabilities to highly improve your performance and dramatically reduce the probability of error as described in "Large Memory Support".

    Low Memory Warning Management
    Furthermore, please note that you can set up the application so as to properly warn you when it is risking to run out of memory.
    To activate low memory warnings, open the I/O window and type in the following:
    ekpar EP_VM_CHECK 1
    To deactivate low memory warnings, instead, type in the following:
    ekpar EP_VM_CHECK 0
    Finally, take into account you can define the threshold memory value in MB below which warnings will be issued if they are enabled by typing in:
    EP_VM_MBLIMIT Threshold_Value_In_MB
    where:
    Threshold_Value_In_MB is the value in MB below which warning messages will be displayed. Default is 100 MB.
    When the warning are activated, whenever the threshold value is going to be exceeded, a message similar to the following will be displayed:
    This application may run out of memory.
    Total memory: 2047 MB.
    Free memory: 100 MB.


 Avoiding data corruption

In order to avoid data losses and corruption and to incrementally save the changes you make to documents, a very simple method is to save your models/drawings to different files during a work session.

For example, you might save your "sample" document first to "sample_01" and then to "sample_02", "sample_03", and so on. If a crash or an Internal Error occurs, even in the case the recovery files automatically generated by the program should be corrupted, you wouldn't have lost all of your work, but only the last changes you made after you last saved.

Although Internal Errors very seldom occur, you have better know what to do in such cases. This document describes how to behave when an Internal Error occurs in two different situations:


Recovering from an Internal Error when a file has not yet been saved by the AutoSave function

The following steps describe what to do in order to recover the models/drawings you are working on in the rare possibility an Internal Error should occur before the AutoSave time period is elapsed, so that no automatic copy of your open models/drawings has been made by the program yet.
 

1 When an internal occurs, the following message box is displayed:



Select Yes to save your last changes before the application is terminated. When you click Yes, a copy of each modified model/drawing is made to a file and the think3 application is terminated.

2 Start the application again. A dialog box similar to the following will be displayed, informing you that the files that were automatically saved might be corrupted (to avoid data corruption, see Avoiding data losses):



The following options are available:
  • Saved when the error occurred — to load the files that were automatically saved when the Internal Error occurred.
  • None — to start the application loading no document.

Select OK.

3 If you load the recovery documents, a dialog box similar to the following will be displayed.



It displays a list of all recovery documents that were automatically saved when the Internal error occurred, it warns you that the AutoSave mechanism will not be enabled during this session and prompts you to:
  1. Check each of the documents
  2. If they are not corrupted, save them
  3. Stop the application.


Checking the document integrity




Recovering from an Internal Error when a file has already been saved by the AutoSave function

The following steps describe what to do in order to recover the models/drawings you are working on in the rare possibility an Internal Error should occur after the AutoSave time period is elapsed, so that one automatic copy of your open models/drawings has already been made.
 

1 When an internal error occurs, the following message box is displayed:



Select Yes to save your last changes before the application is terminated. When you click Yes, a copy of each modified model/drawing is made to a file and the application is terminated.

2 Start the application again. A dialog box similar to the following will be displayed, informing you that the files that were automatically saved might be corrupted (to avoid data corruption, see Avoiding data losses), but also that an autosaved copy of each file is available:



The following options are available:
  • Saved before the error occurred — to load the files that were automatically saved by the autosave mechanism before the Internal Error occurred; these files will not contain the last changes you made after the files were last saved by the AutoSave mechanism
  • Saved when the error occurred — to load the files that were automatically saved when the Internal Error occurred (see step 1)
  • None — to start the application loading no document
3 The behavior is different depending on which option you select:
  • If you select Saved before the error occurred, a dialog box like the following, containing a list of all the files that were automatically saved by the AutoSave mechanism is displayed.



    1. Select the files you want to recover (if any)
    2. Select Recover to load them or Discard not to recover any of them.

    The selected files will be loaded.
     

  • If you select Saved when the error occurred, all recovery documents saved when the Internal Error occurred are loaded; a dialog box similar to the following is displayed:



    It displays a list of all recovery documents, it warns you that the AutoSave mechanism will not be enabled during this session and prompts you to:
    1. Check each of the documents
    2. If they are not corrupted, save them
    3. Stop the application.
Checking the document integrity


4 If, in step 3, you selected Saved when the error occurred, checked your file, and saved, when you stop the application, a dialog box similar to the following will be displayed:



If the recovery files automatically saved when the Internal Error occurred are correct, select Yes to delete the files automatically saved before the error. On the contrary, if the recovery files saved when the error occurred are corrupted, select No to stop the application keeping the files automatically saved before.

Related Topics