issue 45
(启动字典动态转载/卸载检测器 内存泄漏问题) commented on by qieqie.wang
- 不断地重复启动,还是只是正常的?把perm调大点
不断地重复启动,还是只是正常的?把perm调大点
Nov 26, 2009
issue 45
(启动字典动态转载/卸载检测器 内存泄漏问题) commented on by qieqie.wang
- 不断地重复启动,还是只是正常的?把perm调大点
不断地重复启动,还是只是正常的?把perm调大点
Nov 26, 2009
issue 45
(启动字典动态转载/卸载检测器 内存泄漏问题) reported by qqibook
- 使用版本是code.google的paoding-analysis-2.0.4-beta.
我想充分使用"启动字典动态转载/卸载检测器".
但是现在的定时器方式启动字典动态转载/卸载策略会引发内存泄漏问题.
导致字典没有更新成功(dic/.compiled目录没有重新创建)
我将DIC_DETECTOR_INTERVAL_DEFAULT 设置为 "30"会比"60"更容易发生下面的异常
运行参数-Xms 200m -Xmx 500m
2009-11-27 11:34:46 net.paoding.analysis.knife.FileDictionaries
loadAllWordsIfNecessary
信息: loaded success!
Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.addSubDictionary(HashBinaryDictionary.java:132)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.createSubDictionaries(HashBinaryDictionary.java:106)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.<init>(HashBinaryDictionary.java:84)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.createSubDictionary(HashBinaryDictionary.java:141)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.addSubDictionary(HashBinaryDictionary.java:129)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.createSubDictionaries(HashBinaryDictionary.java:106)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.<init>(HashBinaryDictionary.java:84)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.<init>(HashBinaryDictionary.java:72)
at
net.paoding.analysis.knife.FileDictionaries.getVocabularyDictionary(FileDictionaries.java:199)
at net.paoding.analysis.knife.CJKKnife.setDictionaries(CJKKnife.java:48)
at
net.paoding.analysis.knife.PaodingMaker.setDictionaries(PaodingMaker.java:521)
at net.paoding.analysis.knife.PaodingMaker.access$2(PaodingMaker.java:515)
at net.paoding.analysis.knife.PaodingMaker$1.run(PaodingMaker.java:391)
at net.paoding.analysis.knife.PaodingMaker$1$1.on(PaodingMaker.java:413)
at
net.paoding.analysis.dictionary.support.detection.Detector.forceDetecting(Detector.java:114)
at
net.paoding.analysis.dictionary.support.detection.Detector.run(Detector.java:105)
at java.lang.Thread.run(Unknown Source)
也许是要改变"启动字典动态转载/卸载检测器"的策略,用侦听dic目录的变化是否能避
免这个?
另外,这个异常和paodingHolder的paoding管理有关吗?
谢谢
使用版本是code.google的paoding-analysis-2.0.4-beta.
我想充分使用"启动字典动态转载/卸载检测器".
但是现在的定时器方式启动字典动态转载/卸载策略会引发内存泄漏问题.
导致字典没有更新成功(dic/.compiled目录没有重新创建)
我将DIC_DETECTOR_INTERVAL_DEFAULT 设置为 "30"会比"60"更容易发生下面的异常
运行参数-Xms 200m -Xmx 500m
2009-11-27 11:34:46 net.paoding.analysis.knife.FileDictionaries
loadAllWordsIfNecessary
信息: loaded success!
Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.addSubDictionary(HashBinaryDictionary.java:132)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.createSubDictionaries(HashBinaryDictionary.java:106)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.<init>(HashBinaryDictionary.java:84)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.createSubDictionary(HashBinaryDictionary.java:141)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.addSubDictionary(HashBinaryDictionary.java:129)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.createSubDictionaries(HashBinaryDictionary.java:106)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.<init>(HashBinaryDictionary.java:84)
at
net.paoding.analysis.dictionary.HashBinaryDictionary.<init>(HashBinaryDictionary.java:72)
at
net.paoding.analysis.knife.FileDictionaries.getVocabularyDictionary(FileDictionaries.java:199)
at net.paoding.analysis.knife.CJKKnife.setDictionaries(CJKKnife.java:48)
at
net.paoding.analysis.knife.PaodingMaker.setDictionaries(PaodingMaker.java:521)
at net.paoding.analysis.knife.PaodingMaker.access$2(PaodingMaker.java:515)
at net.paoding.analysis.knife.PaodingMaker$1.run(PaodingMaker.java:391)
at net.paoding.analysis.knife.PaodingMaker$1$1.on(PaodingMaker.java:413)
at
net.paoding.analysis.dictionary.support.detection.Detector.forceDetecting(Detector.java:114)
at
net.paoding.analysis.dictionary.support.detection.Detector.run(Detector.java:105)
at java.lang.Thread.run(Unknown Source)
也许是要改变"启动字典动态转载/卸载检测器"的策略,用侦听dic目录的变化是否能避
免这个?
另外,这个异常和paodingHolder的paoding管理有关吗?
谢谢
issue 41
(log4j:ERROR Error occured while converting date.) reported by xiangzhouwang
- What steps will reproduce the problem?
1. start app in server
What is the expected output? What do you see instead?
new exception output
What version of the product are you using? On what operating system?
paoding-analysis-2.0.4-beta
common logging:1.0.4
Please provide any additional information below.
严重: log4j:ERROR Error occured while converting date.
严重: java.lang.NullPointerException
严重: at java.lang.System.arraycopy(Native Method)
严重: at java.lang.AbstractStringBuilder.getChars
(AbstractStringBuilder.java:328)
严重: at java.lang.StringBuffer.getChars(StringBuffer.java:201)
严重: at org.apache.log4j.helpers.ISO8601DateFormat.format
(ISO8601DateFormat.java:128)
严重: at java.text.DateFormat.format(DateFormat.java:316)
严重: at
org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert
(PatternParser.java:444)
严重: at org.apache.log4j.helpers.PatternConverter.format
(PatternConverter.java:64)
严重: at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
严重: at org.apache.log4j.WriterAppender.subAppend
(WriterAppender.java:301)
严重: at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
严重: at org.apache.log4j.AppenderSkeleton.doAppend
(AppenderSkeleton.java:230)
严重: at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
(AppenderAttachableImpl.java:65)
严重: at org.apache.log4j.Category.callAppenders(Category.java:203)
严重: at org.apache.log4j.Category.forcedLog(Category.java:388)
严重: at org.apache.log4j.Category.log(Category.java:853)
严重: at org.apache.commons.logging.impl.Log4JLogger.error
(Log4JLogger.java:257)
严重: at
net.paoding.analysis.dictionary.support.detection.Detector.forceDetecting
(Detector.java:119)
严重: at net.paoding.analysis.dictionary.support.detection.Detector.run
(Detector.java:105)
严重: at java.lang.Thread.run(Thread.java:619)
信息: 553079
[net.paoding.analysis.dictionary.support.detection.Detector :: ERROR ]
java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.getCachedFactory
(LogFactory.java:979)
at org.apache.commons.logging.LogFactory.getFactory
(LogFactory.java:435)
at org.apache.commons.logging.LogFactory.getLog
(LogFactory.java:685)
at net.paoding.analysis.knife.FileDictionaries.<init>
(FileDictionaries.java:55)
at
net.paoding.analysis.knife.PaodingMaker.readUnCompiledDictionaries
(PaodingMaker.java:509)
at net.paoding.analysis.knife.PaodingMaker.access$100
(PaodingMaker.java:52)
at net.paoding.analysis.knife.PaodingMaker$1.run
(PaodingMaker.java:389)
at net.paoding.analysis.knife.PaodingMaker$1$1.on
(PaodingMaker.java:413)
at
net.paoding.analysis.dictionary.support.detection.Detector.forceDetecting
(Detector.java:114)
at net.paoding.analysis.dictionary.support.detection.Detector.run
(Detector.java:105)
at java.lang.Thread.run(Thread.java:619)
What steps will reproduce the problem?
1. start app in server
What is the expected output? What do you see instead?
new exception output
What version of the product are you using? On what operating system?
paoding-analysis-2.0.4-beta
common logging:1.0.4
Please provide any additional information below.
严重: log4j:ERROR Error occured while converting date.
严重: java.lang.NullPointerException
严重: at java.lang.System.arraycopy(Native Method)
严重: at java.lang.AbstractStringBuilder.getChars
(AbstractStringBuilder.java:328)
严重: at java.lang.StringBuffer.getChars(StringBuffer.java:201)
严重: at org.apache.log4j.helpers.ISO8601DateFormat.format
(ISO8601DateFormat.java:128)
严重: at java.text.DateFormat.format(DateFormat.java:316)
严重: at
org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert
(PatternParser.java:444)
严重: at org.apache.log4j.helpers.PatternConverter.format
(PatternConverter.java:64)
严重: at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
严重: at org.apache.log4j.WriterAppender.subAppend
(WriterAppender.java:301)
严重: at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
严重: at org.apache.log4j.AppenderSkeleton.doAppend
(AppenderSkeleton.java:230)
严重: at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
(AppenderAttachableImpl.java:65)
严重: at org.apache.log4j.Category.callAppenders(Category.java:203)
严重: at org.apache.log4j.Category.forcedLog(Category.java:388)
严重: at org.apache.log4j.Category.log(Category.java:853)
严重: at org.apache.commons.logging.impl.Log4JLogger.error
(Log4JLogger.java:257)
严重: at
net.paoding.analysis.dictionary.support.detection.Detector.forceDetecting
(Detector.java:119)
严重: at net.paoding.analysis.dictionary.support.detection.Detector.run
(Detector.java:105)
严重: at java.lang.Thread.run(Thread.java:619)
信息: 553079
[net.paoding.analysis.dictionary.support.detection.Detector :: ERROR ]
java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.getCachedFactory
(LogFactory.java:979)
at org.apache.commons.logging.LogFactory.getFactory
(LogFactory.java:435)
at org.apache.commons.logging.LogFactory.getLog
(LogFactory.java:685)
at net.paoding.analysis.knife.FileDictionaries.<init>
(FileDictionaries.java:55)
at
net.paoding.analysis.knife.PaodingMaker.readUnCompiledDictionaries
(PaodingMaker.java:509)
at net.paoding.analysis.knife.PaodingMaker.access$100
(PaodingMaker.java:52)
at net.paoding.analysis.knife.PaodingMaker$1.run
(PaodingMaker.java:389)
at net.paoding.analysis.knife.PaodingMaker$1$1.on
(PaodingMaker.java:413)
at
net.paoding.analysis.dictionary.support.detection.Detector.forceDetecting
(Detector.java:114)
at net.paoding.analysis.dictionary.support.detection.Detector.run
(Detector.java:105)
at java.lang.Thread.run(Thread.java:619)
Aug 12, 2009
issue 40
(分词结果 提示分 52537803个词, 控制台只显示了500个) commented on by Lau.Khan
- 知道原因了. print默认=50
知道原因了. print默认=50
Aug 11, 2009
issue 40
(分词结果 提示分 52537803个词, 控制台只显示了500个) reported by Lau.Khan
- What steps will reproduce the problem?
1. 我对一个280m的文本文件进行分词, 输出显示
分词器net.paoding.analysis.analyzer.PaodingAnalyzer
内容长度 175154215字符, 分 52537803个词
分词耗时 109219ms
但是控制台只输出了500个, 我想问剩下的这些词怎么导出
What is the expected output? What do you see instead?
没有异常
What version of the product are you using? On what operating system?
paoding-analysis-2.0.4-beta windows xp
Please provide any additional information below.
What steps will reproduce the problem?
1. 我对一个280m的文本文件进行分词, 输出显示
分词器net.paoding.analysis.analyzer.PaodingAnalyzer
内容长度 175154215字符, 分 52537803个词
分词耗时 109219ms
但是控制台只输出了500个, 我想问剩下的这些词怎么导出
What is the expected output? What do you see instead?
没有异常
What version of the product are you using? On what operating system?
paoding-analysis-2.0.4-beta windows xp
Please provide any additional information below.
Aug 11, 2009
issue 13
(請問我能夠加入開發嗎) commented on by virus.warnning
- 阿... 我不要統戰啦 XD
在下只是地球人而已的說
不然我開高達去吉翁軍好了
issue 39
(如何获取paoding系统内置的词库中的中英文词) reported by riverflorence
-
请问,如何我的系统基于spring web server程序,如何获取paoding系统内置的词库中的中英文
词?
谢谢.
请问,如何我的系统基于spring web server程序,如何获取paoding系统内置的词库中的中英文
词?
谢谢.
Jul 23, 2009
issue 38
(出现Type mismatch时是怎么一回事呢???) reported by 867078...@qq.com
- 当我运行第一小例子时,出现以下问题:
Exception in thread "main" java.lang.Error: Unresolved compilation
problem:
Type mismatch: cannot convert from PaodingAnalyzer to Analyzer
at gzu.lyq.luceneAnalyzer.PaodingAnalyzer.main
(PaodingAnalyzer.java:17)
这和什么有关系呢???请专业人士给予指点!Thank you very very much!
当我运行第一小例子时,出现以下问题:
Exception in thread "main" java.lang.Error: Unresolved compilation
problem:
Type mismatch: cannot convert from PaodingAnalyzer to Analyzer
at gzu.lyq.luceneAnalyzer.PaodingAnalyzer.main
(PaodingAnalyzer.java:17)
这和什么有关系呢???请专业人士给予指点!Thank you very very much!
Jul 06, 2009
issue 37
(writerMode无法使用报错) commented on by qieqie.wang
- 应该没有writeMode和queryMode,已经被@Deprecated了吧。
不要在bug系统做使用的交互,到论坛吧