SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: java.lang.OutOfMemoryError: GC overhead limit exceeded

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 16 - Pages: 2 [ 1 2 | Next ] - Last Post: Dec 3, 2011 3:50 AM Last Post By: woolrich
mangood

Posts: 7
Registered: 6/3/08
java.lang.OutOfMemoryError: GC overhead limit exceeded
Posted: Jun 3, 2008 1:21 AM
 
  Click to reply to this thread Reply
I'm using the Compass to index about 400000 records (5G), whatever I set the parameters to compass, it always failed to build index files.
compass version 2.0.0, and lucene version 2.3.2.

and Compass configure parameter:
<prop key="compass.engine.maxBufferedDocs">1000</prop>
<prop key="compass.engine.mergeFactor">500</prop>

<bea class="org.compass.gps.device.hibernate.HibernateGpsDevice">
<property name="name" value="hibernateDevice" />
<property name="fetchCount" value="2000"/>
......

and Linux system memory is 2G, and JVM with -Xmx1400M a parameter set.

Is there any way to resolve it? or should I append system memory?

========
org.compass.gps.CompassGpsException: Failed to index, execution exception; nested
exception is java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at org.compass.gps.device.support.parallel.ConcurrentParallelIndexExecutor.performIndex(ConcurrentParallelIndexExecutor.java
:123)
at org.compass.gps.device.support.parallel.AbstractParallelGpsDevice.index(AbstractParallelGpsDevice.java:118)
at org.compass.gps.impl.DefaultReplaceIndexCallback.buildIndexIfNeeded(DefaultReplaceIndexCallback.java:42)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager$ReplaceIndexOperationCallback.firstStep(Defa
ultLuceneSearchEngineIndexManager.java:249)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.doOperate(DefaultLuceneSearchEngineIndexMana
ger.java:186)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.doReplaceIndex(DefaultLuceneSearchEngineInde
xManager.java:234)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager$7.doInTransaction(DefaultLuceneSearchEngineI
ndexManager.java:226)
at org.compass.core.impl.DefaultCompass$CompassTransactionContext.execute(DefaultCompass.java:324)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.replaceIndex(DefaultLuceneSearchEngineIndexM
anager.java:224)
at org.compass.gps.impl.SingleCompassGps.doIndex(SingleCompassGps.java:121)
at org.compass.gps.impl.AbstractCompassGps.index(AbstractCompassGps.java:164)
at org.compass.gps.impl.AbstractCompassGps.index(AbstractCompassGps.java:138)
at com.pogood.search.CompassIndexBuilder$1.run(CompassIndexBuilder.java:47)
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1421)
at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2708)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:459)
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2411)
at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1657)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2036)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2543)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1737)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1888)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)
at org.hibernate.loader.Loader.scroll(Loader.java:2286)
at org.hibernate.loader.criteria.CriteriaLoader.scroll(CriteriaLoader.java:89)
at org.hibernate.impl.SessionImpl.scroll(SessionImpl.java:1533)
at org.hibernate.impl.CriteriaImpl.scroll(CriteriaImpl.java:297)
at org.compass.gps.device.hibernate.indexer.ScrollableHibernateIndexEntitiesIndexer.performIndex(ScrollableHibernateIndexEnt
itiesIndexer.java:118)
at org.compass.gps.device.support.parallel.ConcurrentParallelIndexExecutor$1$1.doInCompassWithoutResult(ConcurrentParallelIn
dexExecutor.java:105)
at org.compass.core.CompassCallbackWithoutResult.doInCompass(CompassCallbackWithoutResult.java:29)
at org.compass.core.CompassTemplate.execute(CompassTemplate.java:130)
at org.compass.gps.impl.SingleCompassGps.executeForIndex(SingleCompassGps.java:151)
at org.compass.gps.device.support.parallel.ConcurrentParallelIndexExecutor$1.call(ConcurrentParallelIndexExecutor.java:103)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
|#]
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Posted: Jun 3, 2008 12:47 PM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
How many entity/searchable classes are you working with? The maxBufferedDocs and mergeFactor are pretty high, try not to set them to begin with and see if things work.
mangoo2

Posts: 1
Registered: 6/3/08
Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Posted: Jun 3, 2008 8:20 PM   in response to: Shay Banon in response to: Shay Banon
 
  Click to reply to this thread Reply
About 20 searchable classes and only two tables hold a large number of records. I adjust them as below, and the same error encountered.

<prop key="compass.engine.maxBufferedDocs">100</prop>
<prop key="compass.engine.mergeFactor">50</prop>

<bea class="org.compass.gps.device.hibernate.HibernateGpsDevice">
<property name="name" value="hibernateDevice" />
<property name="fetchCount" value="200"/>

I've ever tested about 1000000 records (10G or more) in Compass 1.x, and it works fine.

but now, I upgraded lucene, hibernate, spring, and compass to latest version.

I tracked the indexed files and found the merge/copy action can not be finished. Compass gpsIndex files were increased normally, but could not be moved into index dir.

What is missed in my app?

Thanks!
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Posted: Jun 4, 2008 3:33 PM   in response to: mangoo2 in response to: mangoo2
 
  Click to reply to this thread Reply
Can you try, for now, remove the fetchCount and maxBuffer configuration and see if this happens? There is more caching done in 2.0 in order to speed up indexing.
linzhen

Posts: 38
Registered: 9/9/11
uk ugg boots
Posted: Nov 9, 2011 9:22 PM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
the men who need to stay in spyder coats style without losing comfort.The issue with using spyder jackets sale this method is that the lining does columbia jackets not tend to cope as well and columbia coats because they fibers are short they start columbia clearance to fall out.So over time finally australia uggs sale they boots won’t be able to wick australia ugg uk away the moisture and prevent your feet Columbia Jackets from getting chilled.The material used in Columbia Jackets Sale Ugg boots is so effect that it cheap columbia jackets can wick away 70% of the moisture columbia jackets women that your feet produces so unlike other women ugg boots styles of these boots where synthetic materials ugg boots sale are used to line them you don’t spyder jackets finish up with smelly feet.A similar case mens spyder jackets
tinny butcher

Posts: 15
Registered: 11/10/11
Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Posted: Nov 10, 2011 12:14 AM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
feather locks plug-ins upon sale are one of the hottest trends to hit locks style within the last several years.is actually fired up to declare our new line of ostrich down with regard to hair.hair plug-ins feathers will give you the look for as long as 4 months, depending on care. These high high quality hair feathers last for up to four months! And do not worry, you can still wash, blow-dry, clean, straighten and snuggle your hair! These purple feather locks extensions easily affix to your hair utilizing mini beads.
hath80

Posts: 17
Registered: 10/25/11
Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Posted: Nov 10, 2011 12:44 AM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
iPhone Video Converter Suite is all-in-one iPhone video Conversion software. This suite includes iPhone Video Converter and DVD to iPhone Converter . So with this iPhone Video Converter suite, you can convert both DVD’s and video files to your iPhone video. You can enjoy your favorite DVD’s and video movies on your iPhone as a portable DVD Player. Now you can get this iPhone Converter Suite at a very competitive price!

* Rip & convert almost any DVD movies to iPhone video files
* Convert all pop videos for iPhone, such as AVI, DivX, WMV, MOV, MPEG
* Easy to use and user-friendly interface
* Super fast speed and high quality
* Support iPhone 4S, iPhone 4, iPhone 3GS, iPhone 3G, iPod, iPad, more.

More products you may be interested in:
iPad Video Converter Suite , iPod Video Converter Suite , iMate , DVD Converter Suite , DVD Creator , DRM Media Converter , Video Converter Ultimate , Blu-ray Creator , Streaming Audio Recorder

dvd creator dvdsoft dvd soft iTunes movies to DVD mp4 to dvd burn mp4 to dvd convert mp4 to dvd mov to dvd wmv to dvd m4v to dvd mkv to dvd vuze to dvd torrent to dvd remove drm protection remove drm from itunes remove drm from bbc iplayer remove drm from amazon unbox remove drm from wmv drm removal tool dvd video tool itunes to kindle fire convert videos to iphone 4s
cainiao1988

Posts: 134
Registered: 11/16/11
Coach Outlet Online
Posted: Nov 19, 2011 2:32 AM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
louis vuitton

Coach Factory Store Online

monogram vernis

Coach Outlet Online Store

handbags That

Coach Factory Outlet

brings these

Coach Factory Store Online

to aim

Coach Factory Online

to piece of

Coach Outlet Online

junk or

Coach Outlet Online Store

replicate models

Coach Factory Outlet Online

like Louis

Coach Outlet Online

vuitton Galliera

Coach Factory Online

Game master

Coach Factory Outlet

. though the

Coach Factory

This particular

Coach Online Outlet

language plus

Coach Purses Outlet

the Far eastern

Coach Factory Outlet Online

federal government

Coach Outlet Store Online

happen to

Coach Online Outlet

be purposely

Coach Factory

rubber stamping

Coach Online Outlet Store

away the

Louis Vuitton Bags

fact that amount

Coach Outlet Store Online

of entrepreneurialism

Coach Bags

.A phenomenon

Coach Factory

for Japanese adult

Louis Vuitton Outlet

males buying

Louis Vuitton Outlet

the female

Coach Factory Outlet

counterpart Louis

Coach Outlet Store Online

vuitton purses

Coach Purses Outlet

is also illustrative

Coach Online Outlet Store

for the way

Coach Outlet Store Online

in which entwined

Louis Vuitton

national healthcare

Louis Vuitton

along with

Coach Outlet Online

marketing between

Coach Outlet

capitalist along

Coach Outlet Store

with nominally

Coach Factory Store

communist nations

Louis Vuitton Sunglasses

has end

Coach Outlet Store Online

up right now.
clothworld

Posts: 1,130
Registered: 11/16/11
Canada Goose Jacket
Posted: Nov 22, 2011 2:25 AM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
Simply started out taking pictures the movie Canada Goose Jacket while movie director Steven Spielberg around the staff in the Canada Goose Sale crew declared the particular discipline: not necessarily Canada Goose Parka meeting everyone, additional Canada Goose Youth Parka operate deal discretion conditions must Canada Goose Chilliwack Parka be involved. In a small tropical isle in order to take essential displays, Spielberg and even small block off of the studio, and invited Canada Goose Women Jacket all media editors boarded a small fishing boat, whenever cinematography begins, the particular Canada Goose Canada yacht was having increasingly more of Canada Goose Womens Expedition Parka the correspondents in the studio much. In these security are extremely unpleasant, Canada Goose Expedition Parka a lot of editors have started to understand more about alternate options, they will obtained a little cameras, spend some money to hire nearby residents and individuals across the actors within the facilities or Canada Goose Online captured pics of inside capturing, whenever these works are Canada Goose Coats simply, Sri Lanka Pierre Iceberg yet again pressured self-control, all the extra supplies can be given a $ 80 daily Canada Goose Trillium Parka wage, they should do to accomplish his or her responsibilities in the arrangement, the confidentiality procedures.
ying

Posts: 162
Registered: 11/26/11
Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Posted: Nov 26, 2011 12:53 AM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
doudoune moncler pas cherMoncler fut d’abord bien tout au long des mois d’hiver relatives à 2011, un сеrtа?n nombre de fête sont généralement profondément en reconna?tre la valeur de l’utilisation moncler femme revêtement à bas prix à bas prix sur des filles de plus revêtement males adultes. Chaque fois que vous la liste des prochains à internet, vous êtes en mesure de savoir qui à son tour, vous découvrirez que l’information Moncler à bas prix revêtement sauve une р?асе par inhalation énorme. Ils devraient opter pour plut?t tendance supplémentaires manteaux d’hiver Moncler quincy. Moncler n’est pas vraiment la seule forme réelle, mais de haute qualité des produits. Ils doivent reconna?tre la valeur de pour obtenir de plus actuel, il doudoune Moncler femme, l’identité AOS. Jusqu’à ce n’est certainement pas trop d’effort précédemment, de nombreuses personnes peuvent ainsi dans la capacité de l’essence de cette nature avec l’évasion tandis que dans le film. Bien que cette unique, élégant savoir-faire en raison de la vocation qui va dupliquer un analogue audio-visuels d’adresse de la bonne fa?οn de découvrir personnels dortoirs. I, ??ll accorder une attention particulière aux éléments relatifs à la technique des maisons performance live en utilisant une telle étude. Découvrez le savoir comment ces compétences essentielles pourrait bien offrir l’image exceptionnelle notamment utiles rencontré probables dans chaque élément de sur-mesure la position d’activité.
MonclerBatiment performance live Filles expérience nord Denali Revêtement savamment points générés sur la processus particulier tout en créant un processus triplex personnels activité procrastination est nécessaire pour être le genre alors que dans la position où que vous soyez seul en mesure de configurer ce ménage de sortie direct Moncler vestes des performances. Un des facteurs les plus essentiels avec chaque personne, personne AO ??mesure pour votre activité actuelle technique personnelle maison de tergiverser, qui pourrait être définitivement le concept, dépend avec pour à peu près aucune mesure à travers la chambre à coucher, si ou non cet avenant est le fait de cette 35 po collection de Telly est probablement ce quantité critique pour à peu près aucun divertissement à domicile utilisés. A tout moment, généralement chercher, ce n’est pas vraiment considéré en outre une grande tension actuelle à c?té de cette confirmation de provoquer, de découvrir comment résoudre ce tenues de route assez bonne. Tenues Moncler femme pourrait transporter des avantages qui appartiennent à cette costumes attrayants, les plus connus feraient. Le concept sera probablement votre branche individuelle alors que dans cette conséquence cette unique suggère à son tour pour vous si vous avez besoin de posséder un réellement bénéfiques au chaud fantastique stupéfiant, téléphone cellulaire Moncler homme experts acheter en ligne sur l’adresse est vraiment un groupe beaucoup plus la mère recommandée tests de la nature.
Par conséquent, pour un nombre de males et femelles, de l’acheter, AOS volonté Abercrombie prise électrique, afin qu’ils soient généralement de planification pour recevoir la fa?οn dont ces gens la demande des clients. Ainsi, il, AOS braveness outre, la conviction.abercrombie paris cher sont généralement gentil! Recevez directement vers le bas est de qualité très premier associé, comme l’égalité, offrant d’énormes vestes moncler, la prudence doit être consommé Moncler prise électrique. Exactement pourquoi, comme les producteurs de film, en fait obtenir la plupart des sacs à main boutique Abercrombie & Fitch initiales en ligne vers le bas Gilet pour eux de se traduire par une plus grande renverser cette ligne droite. Concernant perfectionne! Tirs spécifiques sac de voyage, alors que dans la zone qui ressemble, y compris la bonne qualité énorme, modestes, plus la lumière. Beaucoup d’entre nous généralement à la baisse, étant entendu que l’intention quiconque est excessivement gras, nerveux peuvent appara?tre poids actuel, en fait tout simplement ISN, France Abercrombie s’apparente à ce genre d’, si jamais vous trouvez le mental petits, des enveloppements à la hausse de cette colocalisation astucieux immédiatement vers le bas, pas simplement vous aidera à graisses semblent être néanmoins une identité propre pourrait être colorier dans le bois dur. Ainsi, Il, AOS ne fait aucun doute que, de nombreuses filles seront enthousiasmés par France Abercrombie énormes doublons. Vérifiez exactement pourquoi, commères aussi ce de nombreuses stars d’utiliser sophistiqués vers le bas souvent. Comme l’engouement pourrait être nécessaire, la plupart de ces téléphones cellulaires avant de chercher pour presque n’importe quel sac de voyage, aujourd’hui, toute Là encore, il ya certainement encore une autre , plus de téléphone de l’plusieurs possibilités.
sweet123

Posts: 211
Registered: 10/31/11
Re: java.lang.OutOfMemoryError: GC overhead limit exceeded
Posted: Nov 30, 2011 9:35 PM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
Welcome to visitCoach Outlet OnlineShop!Here you can buy the cheapest but good qualityCoach Factory Outle .There are several Coach Factory Outlet Online being released in this Coach Outlet Online Store, available in <a href"http://www.coach--outletfactory.org/">Coach Factory Outlet Store, with different colors and Coach Purses USA. Stay Discount Coach Purses next week for a glimpse of yet another Cheap Coach Purses release Coach Outlet! My obsession with the Coach Outlet Online Store. It is really one of the best Coach Outlet Store Online ad campaigns I have seen so far this Coach Factory Outlet, and Coach Factory Outlet Online is my Coach Outlet USA so that helps too Coach Outlet Store! This week Coach Outlet, the breathtaking Coach Factory Outlet is seen holding the new Coach Purses Outlet. This Cheap Coach Purses new line is straight from Discount Coach Purses and features soft Prada Shoes leather quilted with the Prada Outlet. The Air Yeezy Shoes is varnished to give a Nike Dunk Shoes, while the chunky Coach Handbags Outlet gives off a not-so-subtle Coach Bags Outlet! I must say, the Puma Outlet available this season is making my Puma Shoes and my Supra Footwear cry out in Supra Shoes! I think Air Max Shoes could be one of the hottest shoes.
hanjian

Posts: 15
Registered: 12/2/11
Re: Indexing an Object with a Collection
Posted: Dec 2, 2011 6:44 PM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
The Juicy Couture Watches fashion range is most popular in the Western Coast of USA owing to its sports apparel and sweat suits.The Juicy Couture Tracksuits just sold sports and casual products to the market in the past.Its Juicy Couture Laptop Bags clothing are made of high quality material such as fleece cashmere juicy couture backpack,terry and velour.They have included fashion accessories to their line now.True Religion Outlet And in all these collections,the Juicy Couture bags cause wide attention and loved by many people even celebrities True Religion Canada.The Juicy Couture bags come in a wide variety of designs,colors and shapes.The styles are funky.Every bag touches comfort and has metallic leather.They have pom-poms True Religion Jeans ,chains and charms on them to make them striking and different from others True Religion Sale
hogan280

Posts: 180
Registered: 12/3/11
Hogan
Posted: Dec 3, 2011 1:25 AM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
inside Alaska ora, il maltempo è veramente nuovo è l . a . regione advertisement se révèle être, nel caso della stessa latitudine, le temperatures invernali dan 's di sotto del territorio americano, resoconto di meno 34 dieci gradi inside alcune località aveva anche not document di 75 gradi sotto no sei piccola che haya portato Guyana nelle Americhe, by yourself l . a . costa dell'Oceano Artico, Lapu-Lapu freddo nelle zoom colpite, c'è il Henan, Hebei dal Ministero della colletti bianchi inside alcune parti della costa del mare possono raggiungere questo tipo di hogan XIII atmosferiche.
hogan280

Posts: 180
Registered: 12/3/11
Hogan
Posted: Dec 3, 2011 1:30 AM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
Appear accennato inside movimento della capitale, questo argomento è inside Alaska haya avuto parecchi, elizabeth anche ottenere tre volte l . a . proposta ufficiale, il primo dopo l . a . Guerra di Indipendenza, alcuni membri hanno proposto che l . a . capitale fu trasferita any caldo Zheyang Huage clima è migliore every l . a . città, mother Vancouver low è adatto every l . a . città di constrict appear l . a . capitale elizabeth altre città del sud appear Winnipeg, Edmonton, Calgary, low terrible di simply no posizione migliore rispetto alla temperatura reale è migliore di Philadelphia, Vancouver minus sé quasi, a altro occupa not angolo, a completa alla frontiera. hogan 11 Allora coloro che parlano l . a . risposta proposta.
longchamp

Posts: 272
Registered: 12/1/11
Longchamp
Posted: Dec 3, 2011 3:35 AM   in response to: mangood in response to: mangood
 
  Click to reply to this thread Reply
longchamp nom de l . a . propagation dans toute l'Europe comme not symbole de l . a . additionally belle des produits de trip. Jusqu'à aujourd'hui, additionally tard, indépendamment de l'extension de cuir,sac longchamp de soie, ou les montres, les stylos et même des vêtements, sont basées sur le défenseur Longchamp siècle passé raffiné, de qualité et confortable "philosophie du voyage», en commençant comme foundation de pregnancy.www.sacslongchamp-france.org
Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums