Disable memory manager to avoid long full gc

Description

None

Environment

None

Activity

Show:
Lei Wang
March 24, 2012, 1:26 AM

Disable memory manager to avoid long full gc

Marc Schipperheyn
August 20, 2012, 7:31 PM

Hi,

I'm seeing large amounts of memory being consumed by discarded BoboIndexReaders in my application.
I'm wondering if this has to do with this change? In my scenario I'm refreshing BoboIndexReaders (discarding old, creating new) every few minutes to make sure that the results are up to date. A heap analysis shows all the BoboIndexReaders as unreachable but there are lots and lots of them

Lei Wang
August 20, 2012, 7:49 PM

it's not related. this one is on query time, yours is on indexing time.

btw. if you consume a large amount of data, you will see these unreachable readers, but eventually they will disappear after gc.

Will Martin
September 24, 2012, 6:04 PM

Marc : if you've not resolved your issue, could you share the JVM spec you are using and the Java Opts you set?

thx.

Marc Schipperheyn
September 24, 2012, 7:35 PM

I haven't resolved the issue but I believe it's unrelated to the jvm spec and fundamental to the problem I have integrating Bobo with Hibernate Search, which I use for indexing. Because I haven't been able to create a transparent integration between the two (with Bobo picking up index changes from Hibernate Search), I'm left with reopening BoboIndexReaders in a timed fashion (every two minutes). The result is that discarded Bobo Indexreaders take up ever more memory until a garbage collection cycle is needed. The more memory I add, the bigger the delay.

Assignee

Lei Wang

Reporter

Lei Wang

Labels

None

Fix versions

Priority

Major
Configure