Bugs item #1110947, was opened at 2005-01-27 18:57
Message generated for change (Settings changed) made by joa23
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=491356&aid=1110947&group_id=59548
Category: searcher
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Michael (msashnikov)
Assigned to: Doug Cutting (cutting)
Summary: Serious bug: OutOfMemoryError: Java heap space
Initial Comment:
Nutch 0.6 throws the following exception when the
search phrase includes just a single quote. Something
like "java or ja"va.
Here is the exception:
javax.servlet.ServletException: Java heap space
org.apache.jasper.runtime.PageContextImpl.doH
andlePageException(PageContextImpl.java:845)
org.apache.jasper.runtime.PageContextImpl.han
dlePageException(PageContextImpl.java:778)
org.apache.jsp.search_jsp._jspService
(org.apache.jsp.search_jsp:685)
org.apache.jasper.runtime.HttpJspBase.service
(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service
(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.se
rvice(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJsp
File(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service
(JspServlet.java:245)
javax.servlet.http.HttpServlet.service
(HttpServlet.java:802)
root cause
java.lang.OutOfMemoryError: Java heap space
----------------------------------------------------------------------
>Comment By: Stefan Groschupf (joa23)
Date: 2005-03-09 19:34
Message:
Logged In: YES
user_id=396197
moved to http://issues.apache.org/jira/browse/NUTCH-4
please reassign this bug.
----------------------------------------------------------------------
Comment By: Michael (msashnikov)
Date: 2005-01-27 20:09
Message:
Logged In: YES
user_id=1185001
I found that it happens because a bug in the following infinite
loop in the NutchAnalysis class.
label_4:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 0:
case PLUS:
case MINUS:
case COLON:
case SLASH:
case DOT:
case ATSIGN:
case APOSTROPHE:
case WHITE:
;
break;
default:
jj_la1[6] = jj_gen;
break label_4;
}
nonTerm();
}
It seems that this class was generated using JavaCC. Could
anybody who knows how to use this tool fix the problem?
----------------------------------------------------------------------
Comment By: Michael (msashnikov)
Date: 2005-01-27 19:07
Message:
Logged In: YES
user_id=1185001
Just wanted to add that when the search phrase includes
just one quote symbol then Nutch takes 100% of CPU for a
few seconds, eats all available RAM, and then throws this
OutOfMemoryError exception.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=491356&aid=1110947&group_id=59548
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nutch-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-developers