几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-04-12, 09:30 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】interference detection command has bug

"interference detection" command has bug ???
hi there, forum!!!
i've run into some problems in my sw api experiments...
here's the deal, i've been working in some code of mine to make "intersections detections" and because it has a lot of iterations, sw "bursted" the memory of windows. well it did then, and it still does...
i said to my self "aaaaah, i will just work change the windows definition of swap file and make it bigger and this will solve the problem instantly". wrong. it still burst with the following message at aprox. 2gb of mem usage.
"solidworks is unable to obtain required memory."
"please attempt to free some memory and then press retry, or press cancel to terminate your solidworks session"
then i started to look for the problem, and finally i've encountered the routine that was "consuming" the windows swap file. the problem is (as you can test for yourself by downloading the files below), the sw api command getinterferences keeps getting bigger every iteration. this got me a little bit confused, because of bit that i know of vb language, the variable vints (on my macro) should dump its memory to a "garbage colector", and not keeping geeting bigger.
i've tried this in sw2007_sp3.1 and with sw2009_sp0.0 and they give the same problem ocourrs. i tried also to this "hand made" (without a macro, like a designer!) with the "intersection detection" tool several times on the assembly, and the same thig ocourrs. and it almosts consumes 1mb per calculus.
listen, i'm not saying that sw sucks, i'm sure like everything else it has it limitations, and it keeps getting better with foruns like this, but i'm almost sure that this is a bug of sw and not my unskillfull in vb/sw programming.
can someone gess why this happens??? and can anyone suggest a solution???
come on, lets make sw consume less memory lollololol
best regards to all,
filipe
solidworks
ver. education edition 2007 sp3.1
amd64 3.0 ghz
512mb ddr 400mhz
ati 9550
winxp pro 32bit
portuguese do it better - i do... with this workstation :d
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭



所有的时间均为北京时间。 现在的时间是 05:41 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多