![]() |
【转帖】size And Speed
size and speed
size and speed i have created a evc++, windows ce app to read dwg files. the problem is that that i have limited memory available and the dd dll is 5meg in size. dwg files are commonly 10meg in size. (i only have something like 30meg of space available.) what i have found is that a 1meg dwg file takes 6 minutes to read and a 2meg file runs out of memory. does anyone have any tips on how to reduce the size of the dd dll (i only need to read and extract/dump the data items, no display or edits), the speed of the dll and possibly a means to read larger files? an alternate desire would be a simple method to purge dwg files of unused data, just like running the purge command and removing everything not displayed in the plan view. thanks, bill to minimize memory usage you can: 1. remove non-required in your application dlls from dd folder. (acis rendering, raster support, ole support etc.) this will prevent them from loading. see downloading and installing/binary components and naming conventions. 2. to optimize memory usage by dwg data you can use partial loading and paging. see developers guide/paging support. sergey slezkin thanks, i'll give it a try. bill |
所有的时间均为北京时间。 现在的时间是 06:01 PM. |