GC Warning: Out of Memory! Returning NIL!

Hier finden YaCy User Hilfe wenn was nicht funktioniert oder anders funktioniert als man dachte. Bei offensichtlichen Fehlern diese bitte gleich in die Bugs (http://bugs.yacy.net) eintragen.
Forumsregeln
In diesem Forum geht es um Benutzungsprobleme und Anfragen für Hilfe. Wird dabei ein Bug identifiziert, wird der thread zur Bearbeitung in die Bug-Sektion verschoben. Wer hier also einen Thread eingestellt hat und ihn vermisst, wird ihn sicherlich in der Bug-Sektion wiederfinden.

GC Warning: Out of Memory! Returning NIL!

Beitragvon Max » Do Jan 29, 2009 8:34 pm

Hallo,

ich find das YACY Projekt super.
Bin gerade dabei YACY auszuprobieren.
Leider gibt es da Probleme...
System: Debian Lenny
RAM: 2GB
CPU:>2GHz
HDD: >300GB free

Fehlerbeschreibung:
Nach einer Zeit (gefühlte ca. 1-2 Minuten) des Crawlens friert mir die Yacy Seite ein, der CPU Load und die Netzwerkauslastung gehen runter.


Der Tail wirft folgendes raus:
Code: Alles auswählen
mh@terra:~/Desktop/yacy$ ./startYACY.sh -l
****************** YaCy Web Crawler/Indexer & Search Engine *******************
**** (C) by Michael Peter Christen, usage granted under the GPL Version 2  ****
****   USE AT YOUR OWN RISK! Project home and releases: http://yacy.net/   ****
**  LOG of       YaCy: DATA/LOG/yacy00.log (and yacy<xx>.log)                **
**  STOP         YaCy: execute stopYACY.sh and wait some seconds             **
**  GET HELP for YaCy: see www.yacy-websearch.net/wiki and forum.yacy.de     **
*******************************************************************************
>> YaCy started as daemon process. Administration at http://localhost:8080 <<
mh@terra:~/Desktop/yacy$ E 2009/01/29 20:21:17 STARTUP WARNING: the file                                                                      /home/mh/Desktop/yacy/DATA/yacy.running exists, this usually means that a                                                                      YaCy instance is still running
mh@terra:~/Desktop/yacy$ E 2009/01/29 20:21:23 KELONDRO KELONDRO FAILURE /home/mh/Desktop/yacy/DATA/INDEX/freeworld/QUEUES/urlNoticePreStack: INCONSISTENCY in FREEH reading: USEDC = 0, FREEC = 0, this.FREEH = 20, file = /home/mh/Desktop/yacy/DATA/INDEX/freeworld/QUEUES/urlNoticePreStack
W 2009/01/29 20:21:23 KELONDRO USEDC inconsistency at startup: calculated_used = 82, USEDC = 0, FREEC = 0, recordsize = 394, file = /home/mh/Desktop/yacy/DATA/INDEX/freeworld/QUEUES/urlNoticePreStack
W 2009/01/29 20:21:23 KELONDRO USEDC inconsistency at startup: calculated_used = 39, USEDC = 30, FREEC = 0, recordsize = 48, file = /home/mh/Desktop/yacy/DATA/INDEX/freeworld/NETWORK/newsIn.stack
W 2009/01/29 20:21:24 KELONDRO USEDC inconsistency at startup: calculated_used = 303, USEDC = 0, FREEC = 0, recordsize = 20, file = /home/mh/Desktop/yacy/DATA/PLASMADB/urlNoticeCoreStack9.stack
W 2009/01/29 20:21:37 PLASMA deQueue: null entry on queue stack.
E 2009/01/29 20:21:37 PLASMA deQueue: does not shrink after pop() == null. Emergency reset.
E 2009/01/29 20:21:40 LanguageStatistics the language statistics folder langstats cannot be found
GC Warning: Out of Memory!  Returning NIL!
java.lang.OutOfMemoryError
   <<No stacktrace available>>
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(libgcj.so.90)
   at de.anomic.server.serverInstantBlockingThread.job(serverInstantBlockingThread.java:87)
   at de.anomic.server.serverAbstractBlockingThread.run(serverAbstractBlockingThread.java:64)
   at java.util.concurrent.Executors$RunnableAdapter.call(libgcj.so.90)
   at java.util.concurrent.FutureTask$Sync.innerRun(libgcj.so.90)
   at java.util.concurrent.FutureTask.run(libgcj.so.90)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(libgcj.so.90)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(libgcj.so.90)
   at java.lang.Thread.run(libgcj.so.90)
Caused by: java.lang.OutOfMemoryError
   <<No stacktrace available>>
E 2009/01/29 20:21:40 BLOCKINGTHREAD Runtime Error in serverInstantThread.job, thread 'java.lang.reflect.Method.parseDocument.14': null; target exception: null
java.lang.OutOfMemoryError
   <<No stacktrace available>>
java.lang.OutOfMemoryError
   <<No stacktrace available>>
W 2009/01/29 20:21:44 YACY yacyClient.publishMySeed thread 'PublishSeed_lulabad-eee01' exception: Read timed out; retry = 0
W 2009/01/29 20:21:44 YACY yacyClient.publishMySeed thread 'PublishSeed_Dominion' exception: Read timed out; retry = 0
W 2009/01/29 20:21:44 YACY yacyClient.publishMySeed thread 'PublishSeed_85-214-59-49-78dpnufe96' exception: Read timed out; retry = 0
W 2009/01/29 20:21:44 YACY yacyClient.publishMySeed thread 'PublishSeed_yaceee_w7' exception: Read timed out; retry = 0
W 2009/01/29 20:21:44 YACY yacyClient.publishMySeed thread 'PublishSeed_yacystats-de-03' exception: Read timed out; retry = 0
W 2009/01/29 20:21:44 YACY yacyClient.publishMySeed thread 'PublishSeed_lilirasa' exception: Read timed out; retry = 0
W 2009/01/29 20:21:44 YACY yacyClient.publishMySeed thread 'PublishSeed_127001-1' exception: Read timed out; retry = 0
W 2009/01/29 20:21:44 YACY yacyClient.publishMySeed thread 'PublishSeed_kupferhammer-keller' exception: Read timed out; retry = 0
W 2009/01/29 20:21:44 YACY yacyClient.publishMySeed thread 'PublishSeed_apfelmaennchen' exception: Read timed out; retry = 0
W 2009/01/29 20:21:53 YACY yacyClient.publishMySeed thread 'PublishSeed_lulabad-eee01' exception: Read timed out; retry = 1
W 2009/01/29 20:21:54 YACY yacyClient.publishMySeed thread 'PublishSeed_apfelmaennchen' exception: Read timed out; retry = 1
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:21:56 HTTPD Unexpected Error. java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
   <<No stacktrace available>>
Exception in thread "Session_127.0.0.1:58327#2" java.lang.NullPointerException
   at de.anomic.http.httpd.error(httpd.java:250)
   at de.anomic.server.serverCore$Session.listen(serverCore.java:797)
   at de.anomic.server.serverCore$Session.run(serverCore.java:626)
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:21:57 HTTPD Unexpected Error. java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
Exception in thread "Session_127.0.0.1:58324#4" java.lang.NullPointerException
   at de.anomic.http.httpd.error(httpd.java:250)
   at de.anomic.server.serverCore$Session.listen(serverCore.java:797)
   at de.anomic.server.serverCore$Session.run(serverCore.java:626)
E 2009/01/29 20:21:57 FILEHANDLER INTERNAL ERROR: java.lang.reflect.InvocationTargetException:null target exception at /home/mh/Desktop/yacy/htroot/PerformanceGraph.class: java.lang.OutOfMemoryError:null; java.awt.graphicsenv=''
W 2009/01/29 20:21:59 YACY yacyClient.publishMySeed thread 'PublishSeed_yaceee_w7' exception: Read timed out; retry = 1
W 2009/01/29 20:21:59 YACY yacyClient.publishMySeed thread 'PublishSeed_85-214-59-49-78dpnufe96' exception: Read timed out; retry = 1
W 2009/01/29 20:21:59 YACY yacyClient.publishMySeed thread 'PublishSeed_kupferhammer-keller' exception: Read timed out; retry = 1
W 2009/01/29 20:21:59 YACY yacyClient.publishMySeed thread 'PublishSeed_lilirasa' exception: Read timed out; retry = 1
W 2009/01/29 20:21:59 YACY yacyClient.publishMySeed thread 'PublishSeed_127001-1' exception: Read timed out; retry = 1
W 2009/01/29 20:22:00 YACY yacyClient.publishMySeed thread 'PublishSeed_Dominion' exception: Read timed out; retry = 1
W 2009/01/29 20:22:00 YACY yacyClient.publishMySeed thread 'PublishSeed_yacystats-de-03' exception: Read timed out; retry = 1
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:22:05 HTTPD Unexpected Error. java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
   <<No stacktrace available>>
Exception in thread "Session_127.0.0.1:58321#6" java.lang.NullPointerException
   at de.anomic.http.httpd.error(httpd.java:250)
   at de.anomic.server.serverCore$Session.listen(serverCore.java:797)
   at de.anomic.server.serverCore$Session.run(serverCore.java:626)
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:22:05 FILEHANDLER INTERNAL ERROR: java.lang.reflect.InvocationTargetException:null target exception at /home/mh/Desktop/yacy/htroot/PerformanceGraph.class: java.lang.OutOfMemoryError:null; java.awt.graphicsenv=''
W 2009/01/29 20:22:08 YACY yacyClient.publishMySeed thread 'PublishSeed_lulabad-eee01' exception: Read timed out; retry = 2
W 2009/01/29 20:22:10 YACY yacyClient.publishMySeed thread 'PublishSeed_apfelmaennchen' exception: Read timed out; retry = 2
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:22:13 HTTPD Unexpected Error. java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
   <<No stacktrace available>>
Exception in thread "Session_127.0.0.1:58322#7" java.lang.NullPointerException
   at de.anomic.http.httpd.error(httpd.java:250)
   at de.anomic.server.serverCore$Session.listen(serverCore.java:797)
   at de.anomic.server.serverCore$Session.run(serverCore.java:626)
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:22:13 FILEHANDLER INTERNAL ERROR: java.lang.reflect.InvocationTargetException:null target exception at /home/mh/Desktop/yacy/htroot/PerformanceGraph.class: java.lang.OutOfMemoryError:null; java.awt.graphicsenv=''
W 2009/01/29 20:22:14 YACY yacyClient.publishMySeed thread 'PublishSeed_85-214-59-49-78dpnufe96' exception: Read timed out; retry = 2
W 2009/01/29 20:22:14 YACY yacyClient.publishMySeed thread 'PublishSeed_yaceee_w7' exception: Read timed out; retry = 2
W 2009/01/29 20:22:14 YACY yacyClient.publishMySeed thread 'PublishSeed_kupferhammer-keller' exception: Read timed out; retry = 2
W 2009/01/29 20:22:14 YACY yacyClient.publishMySeed thread 'PublishSeed_127001-1' exception: Read timed out; retry = 2
W 2009/01/29 20:22:14 YACY yacyClient.publishMySeed thread 'PublishSeed_lilirasa' exception: Read timed out; retry = 2
W 2009/01/29 20:22:15 YACY yacyClient.publishMySeed thread 'PublishSeed_yacystats-de-03' exception: Read timed out; retry = 2
W 2009/01/29 20:22:15 YACY yacyClient.publishMySeed thread 'PublishSeed_Dominion' exception: Read timed out; retry = 2
W 2009/01/29 20:22:17 YACY yacyClient.publishMySeed thread 'PublishSeed_lulabad-eee01' exception: Read timed out; retry = 3
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:22:21 HTTPD Unexpected Error. java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
   <<No stacktrace available>>
Exception in thread "Session_127.0.0.1:58325#4" java.lang.NullPointerException
   at de.anomic.http.httpd.error(httpd.java:250)
   at de.anomic.server.serverCore$Session.listen(serverCore.java:797)
   at de.anomic.server.serverCore$Session.run(serverCore.java:626)
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:22:21 HTTPD Unexpected Error. java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
   <<No stacktrace available>>
Exception in thread "Session_127.0.0.1:58326#5" java.lang.NullPointerException
   at de.anomic.http.httpd.error(httpd.java:250)
   at de.anomic.server.serverCore$Session.listen(serverCore.java:797)
   at de.anomic.server.serverCore$Session.run(serverCore.java:626)
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:22:21 FILEHANDLER INTERNAL ERROR: java.lang.reflect.InvocationTargetException:null target exception at /home/mh/Desktop/yacy/htroot/PerformanceGraph.class: java.lang.OutOfMemoryError:null; java.awt.graphicsenv=''
GC Warning: Out of Memory!  Returning NIL!
java.lang.OutOfMemoryError
   <<No stacktrace available>>
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(libgcj.so.90)
   at de.anomic.server.serverInstantBlockingThread.job(serverInstantBlockingThread.java:87)
   at de.anomic.server.serverAbstractBlockingThread.run(serverAbstractBlockingThread.java:64)
   at java.util.concurrent.Executors$RunnableAdapter.call(libgcj.so.90)
   at java.util.concurrent.FutureTask$Sync.innerRun(libgcj.so.90)
   at java.util.concurrent.FutureTask.run(libgcj.so.90)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(libgcj.so.90)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(libgcj.so.90)
   at java.lang.Thread.run(libgcj.so.90)
Caused by: java.lang.OutOfMemoryError
   <<No stacktrace available>>
E 2009/01/29 20:22:22 BLOCKINGTHREAD Runtime Error in serverInstantThread.job, thread 'java.lang.reflect.Method.condenseDocument.11': null; target exception: null
java.lang.OutOfMemoryError
   <<No stacktrace available>>
java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
java.lang.OutOfMemoryError
   <<No stacktrace available>>
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(libgcj.so.90)
   at de.anomic.server.serverInstantBlockingThread.job(serverInstantBlockingThread.java:87)
   at de.anomic.server.serverAbstractBlockingThread.run(serverAbstractBlockingThread.java:64)
   at java.util.concurrent.Executors$RunnableAdapter.call(libgcj.so.90)
   at java.util.concurrent.FutureTask$Sync.innerRun(libgcj.so.90)
   at java.util.concurrent.FutureTask.run(libgcj.so.90)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(libgcj.so.90)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(libgcj.so.90)
   at java.lang.Thread.run(libgcj.so.90)
Caused by: java.lang.OutOfMemoryError
   <<No stacktrace available>>
E 2009/01/29 20:22:22 BLOCKINGTHREAD Runtime Error in serverInstantThread.job, thread 'java.lang.reflect.Method.parseDocument.14': null; target exception: null
java.lang.OutOfMemoryError
   <<No stacktrace available>>
java.lang.OutOfMemoryError
   <<No stacktrace available>>
W 2009/01/29 20:22:25 YACY yacyClient.publishMySeed thread 'PublishSeed_apfelmaennchen' exception: Read timed out; retry = 3
GC Warning: Out of Memory!  Returning NIL!
E 2009/01/29 20:22:28 FILEHANDLER INTERNAL ERROR: java.lang.reflect.InvocationTargetException:null target exception at /home/mh/Desktop/yacy/htroot/PerformanceGraph.class: java.lang.OutOfMemoryError:null; java.awt.graphicsenv=''
W 2009/01/29 20:22:29 YACY yacyClient.publishMySeed thread 'PublishSeed_85-214-59-49-78dpnufe96' exception: Read timed out; retry = 3
W 2009/01/29 20:22:29 YACY yacyClient.publishMySeed thread 'PublishSeed_kupferhammer-keller' exception: Read timed out; retry = 3
W 2009/01/29 20:22:29 YACY yacyClient.publishMySeed thread 'PublishSeed_lilirasa' exception: Read timed out; retry = 3
W 2009/01/29 20:22:29 YACY yacyClient.publishMySeed thread 'PublishSeed_yaceee_w7' exception: Read timed out; retry = 3
W 2009/01/29 20:22:29 YACY yacyClient.publishMySeed thread 'PublishSeed_127001-1' exception: Read timed out; retry = 3
GC Warning: Out of Memory!  Returning NIL!
java.lang.OutOfMemoryError
   <<No stacktrace available>>
java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(libgcj.so.90)
   at de.anomic.server.serverInstantBlockingThread.job(serverInstantBlockingThread.java:87)
   at de.anomic.server.serverAbstractBlockingThread.run(serverAbstractBlockingThread.java:64)
   at java.util.concurrent.Executors$RunnableAdapter.call(libgcj.so.90)
   at java.util.concurrent.FutureTask$Sync.innerRun(libgcj.so.90)
   at java.util.concurrent.FutureTask.run(libgcj.so.90)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(libgcj.so.90)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(libgcj.so.90)
   at java.lang.Thread.run(libgcj.so.90)
Caused by: java.lang.OutOfMemoryError
   <<No stacktrace available>>
E 2009/01/29 20:22:30 BLOCKINGTHREAD Runtime Error in serverInstantThread.job, thread 'java.lang.reflect.Method.storeDocumentIndex.7': null; target exception: null
java.lang.OutOfMemoryError
   <<No stacktrace available>>
java.lang.OutOfMemoryError
   <<No stacktrace available>>
W 2009/01/29 20:22:30 YACY yacyClient.publishMySeed thread 'PublishSeed_yacystats-de-03' exception: Read timed out; retry = 3
W 2009/01/29 20:22:30 YACY yacyClient.publishMySeed thread 'PublishSeed_Dominion' exception: Read timed out; retry = 3
GC Warning: Out of Memory!  Returning NIL!
java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
Exception in thread "Session_127.0.0.1:42831#4" java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
Exception in thread "Session_127.0.0.1:42854#1" java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
Exception in thread "httpd:8080" java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
Exception in thread "de.anomic.data.bookmarksDB.autoReCrawl" java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
Exception in thread "de.anomic.plasma.plasmaSwitchboard.rwiCacheFlush" java.lang.OutOfMemoryError
   <<No stacktrace available>>
GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
Exception in thread "de.anomic.yacy.yacyCore.peerPing" java.lang.OutOfMemoryError
   <<No stacktrace available>>


Es ist absolut unglaubwürdig das mein Memory voll ist ... :) .
Was kann man machen?

Viele Grüße
Max
Max
 

Re: GC Warning: Out of Memory! Returning NIL!

Beitragvon miTreD » Do Jan 29, 2009 9:24 pm

Max hat geschrieben:Es ist absolut unglaubwürdig das mein Memory voll ist ... :) .
Hi Max, herzlich willkommen. Der Speicher von YaCy ist nicht identisch mit Deinem Arbeitsspeicher. Die Java VM bekommt nicht automatisch alles was frei ist zugewiesen. Guck mal unter "Performance" auf den Wert bei "Memory reserved for JVM". Das ist alles was YaCy bekommt. Du kannst auch mit grep Xmx DATA/SETTINGS/yacy.conf feststellen welcher Wert dort steht und ihn per Hand anpassen.
miTreD
 
Beiträge: 1241
Registriert: Mi Jun 27, 2007 11:35 am
Wohnort: /home


Zurück zu Fragen und Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron