--- Begin Message ---
Here's a snippet from our wiki, these settings dump GC logs to a file which you
can inspect.
-verbose:gc
enables verbose logging of the garbage collectors
-XX:+PrintGCTimeStamps
enables printing of timestamps in the garbage collector logs
-XX:+PrintGCDetails
enables printing of garbage collection details in the garbage collector
logs
-Xloggc:/var/log/tomcat6/gc.log
specifies the file where to write the garbage collector logs to
-XX:+HeapDumpOnOutOfMemoryError
enables dumping of the heap in case an OutOfMemoryException occurs
-XX:HeapDumpPath=/var/log/tomcat6/oomheap.dump
specifies the file where to write the heap dump to
Here's a page explaining GC logging:
http://blogs.sun.com/poonam/entry/understanding_cms_gc_logs
If your Nutch is remote you must enable JMX at JVM startup.
> Memory is growing something like 60+MB / hour, for 30K URLs
> How do you see if GC can reclaim heap space ?
>
>
>
> 2011/7/2 MilleBii <[email protected]>
>
> > Well I don't really know... on the last run the server hang and a hard
> > reboot was required.
> > Nothing noticeable in the logs.
> >
> > I have heap space set to -Xmx 2000, which I can increase but it ain't
> > solving the memory leak.
> >
> >
> >
> >
> > 2011/7/2 Markus Jelsma <[email protected]>
> >
> >> Does it run out of memory? Is GC able to reclaim consumed heap space?
> >>
> >> > Have a 300K URLs segement to fetch (no parsing)
> >> > I see memory continuously growing up... looking like a memory leak.
> >> > I have patch 769, 770 installed, and did not see any other patches
> >>
> >> related
> >>
> >> > to memory leak.
> >
> > --
> > -MilleBii-
--- End Message ---