查看单个帖子
旧 2009-05-06, 05:41 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】memory problem creating block references

memory problem creating block references
memory problem creating block references
i have a large (15mb) dwg file that imports well and exported okay with dd9,
but exhausts memory with dd11u1.
the file has many (>100000) point blocks - a referenced block with a few
attributes.
when there are many inserts (blkref->setblocktablerecord(blkid)),
an odarray in oddbblockreferenceimpl grows a little (8) at a time and
eats up/segments memory.
this should probably grow by larger chunks (>128?) or/and have a function to
reserve for an anticipated number of inserts.
i've recreated the behavior with the odwriteex example (i use borland libs)
which is attached - see the comments in the dbfiller.cpp file.
attached files

could someone look into this problem? seems to have slilpped between the cracks...
one of our guys fixed this problem, and the fix will be available in the upcoming 1.12 maintenance release.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)