Skip to main content

Hi,

With FME(R) 2022.2.4.0 (20230303 - Build 22792 - WIN64) I am trying to load 1730 DWG files with attributes. The feature reader reads all the files and generates more than 81 million elements. The next step would be to expose the attributes from the DWG files. When I try to Import the attribute list from feature cache I receive the following error:

An error occurred. Here is the information that FME was able to find on the error
bad allocation
Failed to open the dataset 'C:/Users/csernak/AppData/Local/Temp/wb-cache-readalldwg-cKcBRr/Main_FeatureReader -1 3 fo 1 _lt_OTHER_gt_  0  4cd4d7e49164af1f4967e8da9131f3594634062d.ffs'
DATASET INFO:
    DATASET: C:/Users/csernak/AppData/Local/Temp/wb-cache-readalldwg-cKcBRr/Main_FeatureReader -1 3 fo 1 _lt_OTHER_gt_  0  4cd4d7e49164af1f4967e8da9131f3594634062d.ffs
    NUMBER OF PARAMETERS: 0

The files are there, the disk is half empty, the memory usage is just 400 MBs.

With a single file it just works fine.

Is there anykind of limitation around that?

Hi @gergoe typically we would not expect this to cause the workspace to error out.

Are you trying to expose the attributes in the AttributeManager or the AttributeExposer. In this case the AttributeExposer would be the preferred transformer.

Are you using a single AttributeExposer or multiple in your workspace? If you're able to share the workspace with us that would be very helpful.

 

Instead of exposing the attributes through a transformer, you can try exposing the attributes when you add the reader to the workspace. When you add the DWG Reader to the workspace, click the parameters and then click on Schema Attributes. From here you can choose which attributes you want to expose when reading in your DWG file. This will replace the need to expose attributes through the AttributeExposer.

image


Hi @gergoe typically we would not expect this to cause the workspace to error out.

Are you trying to expose the attributes in the AttributeManager or the AttributeExposer. In this case the AttributeExposer would be the preferred transformer.

Are you using a single AttributeExposer or multiple in your workspace? If you're able to share the workspace with us that would be very helpful.

 

Instead of exposing the attributes through a transformer, you can try exposing the attributes when you add the reader to the workspace. When you add the DWG Reader to the workspace, click the parameters and then click on Schema Attributes. From here you can choose which attributes you want to expose when reading in your DWG file. This will replace the need to expose attributes through the AttributeExposer.

image

Hi,

 

Thank you for the reply. I uploaded the original version of the workflow that has the error. There I used AttributeExposer.

But your other hint helped me. I deleted the AttributeExposer and exposed the attributes derectly in FeatureReader. As the FeatureReader has the format attribute I had a chance to define all my DWG files in the attribute import panel. It took 4-5 hours to scan, but at the end it finished without any problem. Using this method I was able to publish all the possible attributes all along the flow.

Thank you very much for that tip.

 

Gergely Csernák.


Reply