[
Date Prev ][
Date Next ][
Thread Prev ][
Thread Next ][
Date Index ][
Thread Index ]
[
List Home ]
Re: [wtp-incubator-dev] Increase Java heap size
Hi Simon,
Yes, the problem is in XQDT. I have corrected it in the trunk but this will only be available in our next milestone release (sometime end of June).
What you can do until than is to hack a wrapper that calls java again with the needed setting. In order to make it easier for you, I have quickly coded this wrapper for you (see attached). The wrapper takes the following arguments:
JAR_PATH MAIN_CLASS ( SEPARATOR (JAVA_ARGS)* SEPARATOR (ARGS)* )?
All you have to do now is to setup in XQDT this wrapper as an XQuery interpreter and provide the following interpreter arguments for it:
/path/to/mxquery.jar ch.ethz.mxquery.cmdline.MXQuery random_string -Xms32m -Xmx128m random_string -f
Notes:
1. Please avoid whitespaces in the mxquery.jar path!
2. you choose your own "random_string" without whitespaces
All the best,
Gabriel
On Wed, Jun 15, 2011 at 8:50 AM, FIXED-TERM Braun Simon (BEG-PG/EES4-Wi)
<fixed-term.Simon.Braun@xxxxxxxxxxxx > wrote:
I
am using MXQuery0.6.0.
Everything works fine, problems occur only if I try to parse those big
files.
So in my opinion, it is rather an eclipse error than a error of the
processor.
Simon
Gesendet: Freitag, 10. Juni 2011 16:22
An: WTP
Incubator Dev listBetreff: Re: [wtp-incubator-dev] Increase Java heap
size
Which XQuery processor are you trying to run?
Dave
On
05/30/2011 10:04 AM, FIXED-TERM Braun Simon (BEG-PG/EES4-Wi) wrote:
No, I don't want to open them in the XML-Editor, I only want
to parse the file with a simple query like:
for $ y
in doc (sw_comp_dev_mod.xml )/MSRSW/CATEGORY
return
data ($ y )
Are you trying
to load these into the XML Editor? If so they are too large, as the XML
Editor needs to load the entire file into memory. Dave On
05/30/2011 09:10 AM, FIXED-TERM Braun Simon (BEG-PG/EES4-Wi) wrote:
Hi together,
I want to parse big XML-Files (32MB) with
Xquery.
I always reveive the error: Exception in thread "main" java.lang.OutOfMemoryError: Java
heap space
Then I changed -Xms and -Xms in the eclipse.ini but
nothing happend, I couldn't fix the problem even if I enter enough
memory.
I tried to enter a extreme high value, but after this
eclipse didn't start anymore.
Do I have other posibilities to change heap size in
eclipse?
Best regards,
Simon
_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev
_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev
_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev
--
MSc Gabriel Petrovay
Mobile: +41(0)787978034
www.28msec.com
Attachment:
javaproxy.jar
Description: application/java-archive