- 积分
- 63968
- 明经币
- 个
- 注册时间
- 2010-5-9
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
发表于 2022-8-6 14:13:19
|
显示全部楼层
桌子的程序大了确实会死机,但我没看到是多大的限制。bricscad有明确的限制
VM_MAXIMUM_MEM
On a typical machine, the memory block pre-allocated for LISp is around 256 MB - this is sufficient for 99% of all Lisp applications.
Nevertheless, we got around 2...3 cases reported by Lisp developers, where this memory was not sufficient, and an "out-of-memory"situation happened.
Usually, such LISP code temporarily required some more memory for huge list data ... normally, fixing and redesigning the way way as such huge amount of data is to be processed will prevent such out-of-memory cases.
But if necessary, the amount of reserved LISP memory can be adjusted by VM_MAXIMUM_MEM.
Arguments
integer number 0 ... 850, specifies the amount of memory to be used (0 means "automatically adjusted")
Default
0 - memory size is automatically adjusted, normally reserves ~256 MB as LISP memory
Example
VM_MAXIMUM_MEM # 400
will result in 400 MB LISP memory reserved
Remarks
effect of VM_MAXIMUM_MEM setting can be verified with (mem) function, which reports actual memory usage |
|