<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/products/geospatial/desktop/f/bentley-map-forum/74625/bentley-map-crashes-on-opening-dwg-files</link><description>Hello, 
 We have some dwg files (an example is available on the following link: http://www.azimut.fr/charge/map_problem.dwg ) that can&amp;#39;t be opened using Bentley Map V8i Select series 2 (french version 08.11.07.450). 
 Ram Memory used by the process</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Re: Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/thread/200055?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2012 14:08:09 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:7c2700dc-05fb-4544-aba9-1a5a60dc389d</guid><dc:creator>Jean-Claude FISCHER</dc:creator><description>&lt;p&gt;Thanks Carlos, it&amp;#39;s working now (see my response to Jeff).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jean-Claude Fischer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/thread/200049?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2012 13:26:42 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0dd43f59-432d-427f-94e9-8a9436ec0c60</guid><dc:creator>Jean-Claude FISCHER</dc:creator><description>&lt;p&gt;Hello Jerry,&lt;/p&gt;
&lt;p&gt;You are right, it&amp;#39;s not a specific drawing for Bentley Map. But we use often Map for simple CAD purposes, surveying and civil, sometimes for real GIS projects. That&amp;#39;s why we chose Map vs PowerDraft or Microstation, for its interoperability.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jean-Claude Fischer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/thread/200048?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2012 13:20:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c4983b0c-51ff-4bc1-bf6c-fcd858bcf828</guid><dc:creator>CMartins</dc:creator><description>&lt;p&gt;Hi Jean-Claude,&lt;br /&gt;&lt;br /&gt;Make sure the configuration variable is set as below&lt;/p&gt;
&lt;p&gt;Workspace &amp;gt; Configuration &amp;gt; New&lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="" src="http://communities.bentley.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Discussions-Components-Files/5924/3704.configvar.png" width="294" height="198" /&gt;&lt;/p&gt;
&lt;p&gt;Exit&amp;nbsp;Map and start a new session&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img border="0" alt="" src="http://communities.bentley.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Discussions-Components-Files/5924/5483.memory.png" /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Carlos&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/thread/200047?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2012 13:18:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:d4398651-0d1a-43c0-9d45-9fd4452955c5</guid><dc:creator>Jean-Claude FISCHER</dc:creator><description>&lt;p&gt;Thank you a lot for the explanation, it seems clearer to me why memory usage increases with Map, even if this big difference against MS surprises me.&lt;/p&gt;
&lt;p&gt;I apologize, after checking defined MS_GEOXFM_NO_DYNAMICSCOREDFEATURES config variable, it appeas that I misspellt it (missing last S). Map is now running as you described, similarly to a CAD session. Thanks again for bringing this to light.&lt;/p&gt;
&lt;p&gt;Last question: I don&amp;#39;t find most of MS_GEOXFM_xxxx &amp;nbsp;config variables description in map chm helpfile. Isn&amp;#39;t there a &amp;quot;glossary&amp;quot; to download?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Jean-Claude Fischer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/thread/199964?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2012 23:25:04 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:06490054-de6f-4ebf-8f62-2e43b6376283</guid><dc:creator>Jerry Walter - Bentley</dc:creator><description>&lt;p&gt;Also what is the purpose of using this drawing in Bentley Map ? The example file had a lot of information contained in it, that I would suspect is not needed for Bentley Map ( lots of detail information). Is there a way to separate this out ? &lt;/p&gt;
&lt;p&gt;You may want to contact technical support and have this reported. Please explain to them, as you have done here, the OS, memory, file sizes, and how many files you are working with at one time. &lt;/p&gt;
&lt;p&gt;Thanks !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/thread/199963?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2012 23:24:24 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c5c3e062-62a1-48bb-b65d-63703b92cf16</guid><dc:creator>Jeff Bielefeld</dc:creator><description>&lt;p&gt;Greetings Jean-Claude,&lt;/p&gt;
&lt;p&gt;There are as you know roughly ~600 drawing levels in the provided DWG file when opened in MicroStation. By default, when Bentley Map opens files containing graphic data that is not native XFM features, the DFS system attempts to infer feature class definitions from the elements based upon levels and element types, then loads an internal cache of all inferred feature instances. Having ~600 inferred feature classes representing ~324,000 inferred feature instances proves to be expensive. Disabling DFS for this type of file is then recommended as Carlos correctly recommended.&lt;/p&gt;
&lt;p&gt;Opening the provided sample DWG file with DFS disabled, I observe only a ~35mb memory usage increase when Bentley Map V8&lt;em&gt;i&lt;/em&gt; (SELECTseries 2) 08.11.07 is running as opposed to a MicroStation only session.&lt;/p&gt;
&lt;p&gt;However something seems a bit inconsistent with your results when DFS is disbled. Hopefully we can determine what is causing the reported differences. Could you confirm how you are defining the MS_GEOXFM_NO_DYNAMICSCOREDFEATURES configuration variable prior to the start of your Bentley Map session?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/thread/199950?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2012 22:09:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:53bd414a-854f-45ce-8ee9-163e7b79ab88</guid><dc:creator>Jean-Claude FISCHER</dc:creator><description>&lt;p&gt;Thank you for your answer Carlos but even with the config variable set, I don&amp;#39;t succeed (windows XP with 4Go ram).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Using Microstation V8i there is no problem at all (screen capture below, editing the same file takes 467 Mo, attaching it as a reference takes 100 Mo more)&lt;/p&gt;
&lt;h6&gt;&lt;img src="http://communities.bentley.com/resized-image.ashx/__size/800x0/__key/CommunityServer-Discussions-Components-Files/5924/6330.ScreenShot326.jpg" border="0" alt="" /&gt;&lt;/h6&gt;
&lt;p&gt;I have tried to edit the file with Map on a Windows 7 desktop with 8Go Ram, &amp;nbsp;... and succeeded!&lt;/p&gt;
&lt;p&gt;But we need 2,24 Go to edit a 22 Mo file, 100x more memory!! (screen capture below)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://communities.bentley.com/resized-image.ashx/__size/800x0/__key/CommunityServer-Discussions-Components-Files/5924/2541.ScreenShot327.jpg" border="0" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;A few (2-3) of this type of file have to be attached as reference to another dwg file of same size. I don&amp;#39;t dare to imagine the memory we will need to acheive our project, even under WInows 7 with 8Go (furthermore most of our computers are still under Windows XP).&lt;/p&gt;
&lt;p&gt;What can we do? This huge amount of used memory doesn&amp;#39;t seem to be a normal behaviour for Bentley Map,&amp;nbsp;&lt;span&gt;especially if we compare with Microstation or PowerDraft.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Jean-Claude Fischer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/thread/199919?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2012 18:04:21 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:67a43753-11c2-4394-9884-f268cb26dc28</guid><dc:creator>Jerry Walter - Bentley</dc:creator><description>&lt;p&gt;Jean-Claude;&lt;/p&gt;
&lt;p&gt;I can confirm Martin&amp;#39;s solution. I have a 4 GB Windows 7 (32) laptop, and after disabling the DFS, I can bring it up. Though the drawing has some response delays in view updates, it does function without crashing ( with my limited testing).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Bentley Map crashes on opening DWG files</title><link>https://communities.bentley.com/thread/199913?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2012 17:35:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f44652d3-0226-42bd-9667-d51d79984ede</guid><dc:creator>CMartins</dc:creator><description>&lt;p&gt;Hi jean-Claude,&lt;/p&gt;
&lt;p&gt;In my test the process go to 1.7 GB but it didn’t crash, probably due to the fact I have 8GB of RAM. What you may want to test is to set as a variable MS_GEOXFM_NO_DYNAMICSCOREDFEATURES=1, you can set this as an workspace environment variable, then retest using a new Bentley Map session. Setting this environment variable disables the DFS (Dynamic Feature Scoring) system of Bentley Map which add overhead by inferring feature class definitions of non-XFM feature instances (e.g. simple MicroStation or DWG elements). The process will use less memory, probably around 400 MB. The use of the variable should be limited to those files which encounter the problem, and will detrimentally effect XML/XFM operation otherwise.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Carlos&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>