声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 913|回复: 0

[综合讨论] 急求 如何解决 “integer too large in contex”的错误问题

[复制链接]
发表于 2010-12-15 17:25 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
网上所有的解决方案都是
Solution:
This may be a problem with the way memory management is performed by Maple. At present, the only potential workaround is to wrap your call to a symbolic calculation that operates on numbers with large numbers of digits inside a TRY/CATCH block and clear the Maple function using the following commands:

For Symbolic Math 2.1.3 (R13) and earlier:
maple clear
% or
maple restart

For Symbolic Math 3.0 (R13+) and later:
clear maplemex

Alternatively you may increase the frequency of automatic garbage
collections, which occurs (approximately) after every <integer>
words used in maple using the following command:
maple('kernelopts(gcfreq=10000)');

For further information on the use of this command type:
mhelp kernelopts

加入clear maplemex 后 程序运行一段时间后会自动退出
这个代码在程序中要怎么用?
谢谢 急用

点评

反对: 2.0
反对: 2
相同或相近内容的话题,请勿开新贴  发表于 2010-12-15 20:44
回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-16 11:32 , Processed in 0.066343 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表