Here is my search method, maybe it's something wrong with it:
public Vector buscar(String busqueda) throws Exception, Error
{
Vector results = new Vector();
ResultadoBusqueda rb = null;
IndexSearcher searcher = new IndexSearcher("/index");
Analyzer analyzer = new StandardAna
> But i have the IBM JDK 1.4.2, do you know if this version still have the
> problem??
I'm sorry I don't know that. But you can try it and if it solves the
problem,
you can add your experience to FAQ :)
Koji
-
To unsubscribe,
But i have the IBM JDK 1.4.2, do you know if this version still have the
problem??
--
View this message in context:
http://www.nabble.com/java.lang.OutOfMemoryError-in-lucene-t1324911.html#a3551247
Sent from the Lucene - Java Users forum at Nabble.com.
--
> What else could it be? maybe the ibm jvm?
I'm not sure this is the case, but there is an issue about IBM JDK
at FAQ. Please read:
Why can't I use Lucene with IBM JDK 1.3.1?
http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-1416be459d0bb822360b058
aac3c2ccf8ecc133e
regards,
Koji
---
I think the problem is not the memory, because i just tried to search in a
11k index that contains only one document but i still get the same problem.
What else could it be? maybe the ibm jvm?
--
View this message in context:
http://www.nabble.com/java.lang.OutOfMemoryError-in-lucene-t1324911.ht
Then you should probably try to increase them to a higher value to see
if the problem still occurs.
The memory consumption on your production server is probably much higher
than what you are used to on your development platform.
escobar5 wrote:
I forgot to tell, i've already checked that and t
I forgot to tell, i've already checked that and they are:
-Xms = 306m
-Xmx = 320m
--
View this message in context:
http://www.nabble.com/java.lang.OutOfMemoryError-in-lucene-t1324911.html#a3536145
Sent from the Lucene - Java Users forum at Nabble.com.
---
You should probably increase the memory allocated to the jvm using java
option such as
-Xms128m -Xmx256m
(define 128mb of memory at startup which can increase to a maximum of 256)
escobar5 wrote:
Hello,
i'm having a problem when searching in lucene, i get a
java.lang.OutOfMemoryError: JVMXE00