Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

DolphinDB社区版使用过程中经常报错:bad_alloc是什么原因?

我使用的是DolphinDB官网免费的社区版,license文件也是使用免费的社区版,配置了两个数据节点。
我是用的电脑具有32G的内存,数据节点的maxMemSize设置了16G。
为什么我读取一些远小于16G内存的表格时,老是出现bad_alloc的错误。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

bad_alloc是内存不足导致,社区版本的license,限制了4G的内存使用量,可以用license()确认一下maxMemoryPerNode是否为4。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.6k users

...