List Info

Thread: Re: Big XML file indexing out of Memory error




Re: Big XML file indexing out of Memory error
user name
2007-01-22 05:54:33
Hi Miguel,
Thanks for reply, But i know i can increase the heap size,
but problem is that i can use only 512m max heap size., Not
allowed more.

set JAVA_OPTS= -Xmx512m
But what if 35-50MB xml file come in extractor, will it gone
out of memory.


----- Original Message ----
From: Miguel Figueiredo <mfigueiredomaisis.pt>
To: Slide Users Mailing List <slide-userjakarta.apache.org>
Sent: Monday, 22 January, 2007 3:35:18 PM
Subject: RE: Big XML file indexing out of Memory error


Hello Aslam,

Not sure if you already tried this, but set this options to
the JVM:

-Xms128m -Xmx768m -XX:MaxPermSize=256m

Hope this helps,
Miguel Figueiredo

-----Original Message-----
From: Aslam Bari [mailto:iamaslamokyahoo.co.in] 
Sent: sábado, 20 de Janeiro de 2007 12:05
To: slide-userjakarta.apache.org
Subject: Big XML file indexing out of Memory error


Dear all,

I m sending Big XML files to server about 30 - 50MB size. I
have configured
SimpleXmlExtractor. When this extractor start parsing, Two
things happend:-

1. Either Out Of Memory error occured.
2. Or The Request get Timed-Out.

I see the Code of SimpleXMLExtractor, it is using SAXBuilder
with JDOM. Can
we use something else to speed up the process.

Thanks...
-- 
View this message in context:
http://www.nabble.com/Big-XML-file-i
ndexing-out-of-Memory-error-tf3044992.ht
ml#a8464267
Sent from the Jakarta Slide - User mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something
new
http://in.answers.yahoo.
com/
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )