笨笨、石头 发表于 2010-12-15 17:25

急求 如何解决 “integer too large in contex”的错误问题

网上所有的解决方案都是
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 后 程序运行一段时间后会自动退出
这个代码在程序中要怎么用?
谢谢 急用
页: [1]
查看完整版本: 急求 如何解决 “integer too large in contex”的错误问题