Whoops...10 times to much there. more like 40 meg I think. A string sort could be a bit higher though, you also need to store all of terms to index into.
sandyg wrote:
this is my search content QueryParser parser = new QueryParser("keyword",new StandardAnalyzer()); Query query = parser.parse("1"); Sort sort = new Sort(new SortField(sortField)); Hits hits = searcher.search(query,sort); And i had huge data about 13 millions of records i am not sure y its giving outof memory exception and no exception when no sorting is done plz some one help me yar and also if to increase heap space how to increase it programatically i had command prompt java -Xms<initial heap size> -Xmx<maximum heap size> please.....
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]