SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: OutOfMemoryError: Java heap space while indexing 50000 records

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


Permlink Replies: 31 - Pages: 3 [ Previous | 1 2 3 | Next ] - Last Post: Dec 3, 2011 4:47 AM Last Post By: longchamp
nch

Posts: 43
Registered: 3/3/08
Re: OutOfMemoryError: Java heap space while indexing 50000 records
Posted: Mar 26, 2008 6:15 AM   in response to: Shay Banon in response to: Shay Banon
 
  Click to reply to this thread Reply
I'm afraid, I can't find a way to attach any files to the issue.
I'm attaching them in this post. I would just add them to package org.compass.gps.device.ibatis.
They would require reviewing and javadoc.

Regards.
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: OutOfMemoryError: Java heap space while indexing 50000 records
Posted: Mar 26, 2008 11:34 AM   in response to: nch in response to: nch
 
  Click to reply to this thread Reply
I have applied to the plain SqlMapClientGpsDevice support for RowHandler. I have also enabled parallel indexing which means Compass will try and parallel the indexing process of different select statements. This should provide great performance boost. It is now in trunk, can you give it a go and see if it works for you?
nch

Posts: 43
Registered: 3/3/08
Re: OutOfMemoryError: Java heap space while indexing 50000 records
Posted: Mar 26, 2008 11:59 AM   in response to: Shay Banon in response to: Shay Banon
 
  Click to reply to this thread Reply
I'll do, but in SqlMapClientGpsDevice.SqlMapClientGpsDeviceRowHandler#handleRow I think you should remove the two "++" in "pageCount++" where the page count is logged.
How can I download this if a nightly has not been built? How can I add code snippets to this forum?
nch

Posts: 43
Registered: 3/3/08
Re: OutOfMemoryError: Java heap space while indexing 50000 records
Posted: Mar 27, 2008 2:18 AM   in response to: nch in response to: nch
 
  Click to reply to this thread Reply
I checked out the sources from svn, made a release, removed the "++" I poined out in the previous post and ran a full index.
Everything went as expected.
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: OutOfMemoryError: Java heap space while indexing 50000 records
Posted: Mar 27, 2008 4:31 PM   in response to: nch in response to: nch
 
  Click to reply to this thread Reply
Great!. I fixed the pageCount problem. I don't like addition of pageCount within String concatenation, this is why I missed it...
Adam Lane

Posts: 8
Registered: 10/13/08
Re: OutOfMemoryError: Java heap space while indexing 50000 records
Posted: Oct 13, 2008 8:03 PM   in response to: nch in response to: nch
 
  Click to reply to this thread Reply
I was getting out of memory java heap space errors and was reading all the threads to find out what might be the problem.
This thread turned out to be the same symptom but different problem however the solution to my problem is in the thread.
I just wanted to thank Shay for a post in it that saved me and also stress to anyone else still searching "out of memory" threads for a solution to try "useCursorFetch=true" param on the JDBC URL. Since the post with the suggestion is in the middle it is easy to scan over without thinking it could solve the problem.
jenny

Posts: 271
Registered: 11/13/11
coach outlet store online
Posted: Nov 13, 2011 7:15 PM   in response to: nch in response to: nch
 
  Click to reply to this thread Reply
The

coach factory outlet

has been in business for many years. You can log in to find more information about its products and services.
At

louis vuitton sale

,you will find Louis Vuitton Vernis Wallet uses Vernis leather lining instead of classic Monogram canvas, meanwhile creates another classic style with fashion.
Here's your new way to look sophisticated styles. Carry the hot

coach outlet store online

of this summer and be the true trendsetter!
Several days ago, I chose one style of

hermes scarf

from the Swarovski Outlets, which has won good reputation from many customers.
It is a symbol regarding position not to mention nature, Here I would like to launch a excellent bags pertaining to business men, which may be

louis vuitton online

Cupertino M56398.
Almost everyone has identified effectively about this, below, among the best to make sure you will get much more information about

coach outlet

.
lvzeng

Posts: 268
Registered: 11/13/11
louis vuitton
Posted: Nov 13, 2011 7:52 PM   in response to: nch in response to: nch
 
  Click to reply to this thread Reply
Owning

louis vuitton bags

of their own has been the dreams of many fad-seeking people for a quite long time.
You need not worry about the quality of the

coach outlet store online

for sale now. The Coach brand is famous for the perfect products.
I am so confused that I don,t even know where to buy the

louis vuitton

Handbags. Because I can prefer to chose the fashionable design, favorable price, top service .

coach outlet store online

with fashion style and top quality succeed. In any occasions they are very suitable and appropriate for its precise and rich design.
They're not chosen, so one of these ideal for you.For more flexibleness a lot more like these, there are lots of discount 'shoulder' variations outlet

louis vuitton bags

.

hermes birkin

is an Austrian success story par excellence. At the end of the 19th century Daniel Swarovski founded a company with the aim to cut crystals automatically.

coach outlet store

vision system is a visual enjoy, is a visual art. The particular design has been integrated function and the element of elegancy, then show you an exquisite and excellent product.
coach8outlet

Posts: 282
Registered: 11/13/11
Re: OutOfMemoryError: Java heap space while indexing 50000 records
Posted: Nov 14, 2011 1:33 AM   in response to: nch in response to: nch
 
  Click to reply to this thread Reply

louis vuitton handbags

enjoy high reputation all over the world. They are designed for hand, elbow and shoulder carry thanks to comfortable flat leather handles.
If you have been to the mall lately and browsed

coach outlet

you may find that a high price tag goes along with just about everything in the mall.
This client-oriented and faith-rooted store aims at providing the best LV goods and services, such as top-class

louis vuitton uk

and free shipping.
Turn your attention to such discount coach sneakers for women from Coach Outlet Store online, you will find something unique and special of such authentic coach for sale at coach factory outlet store online.

louis vuitton outlet

online just like a person who want to show himself in front of other people, because he is confident enough, he can attain the respect of other people.
Bezel-set

hermes birkin bag

are showcased in all their brilliance in the chic and timeless design of this tennis bracelet. Rhodium-plated metal bracelet with foldover clasp.
The

coach outlet store online

are utilized for formal event in company area that will display your excellent taste.Not only does a briefcase make is easier to carry things.
tonnyben

Posts: 270
Registered: 11/14/11
Re: OutOfMemoryError: Java heap space while indexing 50000 records
Posted: Nov 14, 2011 2:27 AM   in response to: nch in response to: nch
 
  Click to reply to this thread Reply

coach factory outlet online

featured with stylish leather bags and signature materials, and carry this bag, it can designate people seem to be captivatingly feminine and good-looking. Why not to buy one when it is at an affordable price?
The products that

louis vuitton outlet

is countless, such as: purses, bags, handbags, shoes, belt. Even the same kind of product includes the products for women, the products for men, for summer-day use, for winter-day use.So, it is probably far beyond your imagination.
As a perfect combination of classic and modern fashion,

coach outlet online

can show the customers'unique personality.

hermes birkin

is your premier online shop for a wide range of quality Swarovski Crystal products such as Swarovski Crystals earring, Jewelry, Bracelet etc.
You could find them in desirable quality and price. If you don't mind high class louis vuitton replica bags, have a good time at

louis vuitton outlet online

.

coach purses

tend to be among finest style strikes associated with these days! They're the standing image that many ladies possess, or even, intend on obtaining.
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