-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
写入一些图之后,偶尔会出现KvException: Cannot allocate memory报错 #310
Comments
试下64个子图是否会出错 |
大致弄清楚了,每开一个子图,会mmap一个1TB大小的db文件,mmap总空间是有限制的,所以一个开100多个db就会报错,如果其他地方也有比较多的mmap,那么会提前报错。 后续的方案应该是默认db的mmap大小可配,如果都是小图,就配的小点,能用更多的图。 |
linux的mmap总共最大值的一个典型数是128TB,不同os可能不同,在tugraph里配置为最大的db_size,可后期修改。 注:修改的时候会重启单个db。 |
该问题已修复。将关闭此Issue,如有问题请重开 |
The issue is closed due to inactivity. Please feel free to create a new one if you have more questions. And please star this repo if you find it useful! Thanks! |
使用tugraph3.4.0版本的容器,长期使用写入多份图数据后,可能会在某一次写入图时,报错
猜测可能是系统资源问题,但实际上资源比较充足:
写入tugraph的操作是使用的python的client:
TuGraphClient
当前临时解决方法是,将挂载的数据目录切换成新的空目录(相当于清理了之前的所有图数据),就可以正常写入了
环境:
The text was updated successfully, but these errors were encountered: