duanhongyi / nlpbamboo

Automatically exported from code.google.com/p/nlpbamboo
GNU General Public License v3.0
0 stars 0 forks source link

能否清理一下内存溢出的漏洞 #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
首先,这个项目很好,表示感谢.
我在一个网站中,使用了postgres数据库,版本是8.3.5
为了支持中文的全文检索,编译了这个,版本是1.1.1 
crf++的版本是0.53

网站压力大概平均每天独立IP 1万多点
基本上2天左右,内存会耗尽,在增加这个支持前,很多天都不会�
��过2G,内存占用.

我注意到一个细节,当一个postgres的处理进程处理全文检索的��
�候,这个postgres的内存
占用会非常大, res高的到了500多M,平均300多M,
没有加这个插件的时候,都是几十M.

盼望能早日解决,万分感谢.

Original issue reported on code.google.com by zdx7...@gmail.com on 26 Jan 2010 at 9:30

GoogleCodeExporter commented 9 years ago
bamboo的辞典是mmap上去,辞典本身就很大。因此,res和shared增�
��属于正常现象。只要不是持续增加就
好了。

Original comment by jianingy...@gmail.com on 24 Mar 2010 at 7:59