Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread jean-marc Mercier
Mmhh...ok. I will try to find it that way. I am actually trying to send you the prof:time(prof:mem)) of the main algorithm, to compare the main perf algorithm between the two betas. My first penny guess is that it could come from Leo's work, since INLINE and TAILCALL impacted the result. Could you

Re: [basex-talk] html and css

2014-01-30 Thread Christian Grün
Hi Lars, as you already indicated, the default web application configuration of BaseX requires all static files (css, images, html, etc.) to be stored in the "static" directory. These files can then be referenced via ="/static/" from your generated html files. If I get it right, you are also

Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread Christian Grün
If you got time, it may already be helpful if you provide us with your code base. You could also try to run BaseX with less memory assigned (e.g. 128m) and send us the stack trace, which will be triggered via the debug flag (-d) as soon as RAM is exhausted, or you could run BaseX with Java profilin

Re: [basex-talk] XML DOCTYPE Problem

2014-01-30 Thread Christian Grün
Hi Martin, > First it seems (either in 7.7.2 nor 7.8 beta) not possible to change the > parser options (at least there were no changes in behaviour) > I'm running basex using the bin/basexhttp script. If i change the intparse > or dtd option using bin/basexclient they are restored to default when

[basex-talk] html and css

2014-01-30 Thread Lars Johnsen
When running BaseX http-server, I wondered where resources like javascript and css should be located. The .xqm-file for the welcome RESTXQ module seems to fetch its svg and css from a static directory under webapp. However, when sending HTML code from within a home made query, it won't connect to

Re: [basex-talk] Use of attribute index

2014-01-30 Thread Christian Grün
Hi Robert, thanks for your precise observations. I agree that the second query should have been optimized as well, and is now rewritten in the latest snapshot [1] (the optimizer was bold enough to reject all path expressions that contained any positional predicates). Hope this helps, Christian [

Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread jean-marc Mercier
Christian, The point is that I don't know how to provide a self-contained query. The only strategy I could propose, to provide a self-contained query isolating the memory management problem, is really too time-consuming : I can imagine a binary-chop search, comparing the memory management of the

Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread Christian Grün
> A first clue: I set INLINELIMIT = 0 TAILCALL = -1, and the process ended, > even if it is taking now some 3/4 minutes and nearly 5,5 Go memory > footprint. Thanks. Could you provide us with a self-contained query? Christian ___ BaseX-Talk mailing list

Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread jean-marc Mercier
Christian, A first clue: I set INLINELIMIT = 0 TAILCALL = -1, and the process ended, even if it is taking now some 3/4 minutes and nearly 5,5 Go memory footprint. 2014-01-30 jean-marc Mercier > Hi Christian, > > Thx, I tested it. It seems that a regression has been introduced : my main > proce

Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread jean-marc Mercier
Hi Christian, Thx, I tested it. It seems that a regression has been introduced : my main process, running in 30sec with 4 Go in memory with BaseX7.8 6aeaebf, never ended with this latest release. Indeed, it started disk-swapping as it is consuming more than 6 Go now (the size heap of my JAVA machi

Re: [basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread Christian Grün
Hi Jean-Marc, you got it right, we fixed the bug! I've just updated the snapshot; feel free to give it a try! Thanks, Christian On Thu, Jan 30, 2014 at 5:07 PM, jean-marc Mercier wrote: > Hello, > > As bug https://github.com/BaseXdb/basex/issues/839 has been closed, I tried > to upgrade from

Re: [basex-talk] XML DOCTYPE Problem

2014-01-30 Thread Martin Reckziegel
Hello Christian, thanks for your answer. I managed to solve the problem using the latest snapshot, but there are some issues/notes i want to share. First it seems (either in 7.7.2 nor 7.8 beta) not possible to change the parser options (at least there were no changes in behaviour) I'm running b

Re: [basex-talk] Parameter to xquery

2014-01-30 Thread Fabrice Etanchaud
Hello Lars, Maybe http://docs.basex.org/wiki/Options#BINDINGS could help you. BaseX is just fantastic. Best regards, Fabrice De : basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part de Lars Johnsen Envoyé : jeudi 30 janvier 2014 17:44 À :

[basex-talk] Parameter to xquery

2014-01-30 Thread Lars Johnsen
Is it possible to pass parameters to xquery modules using BaseX scripting language? I tried something similar to to http-specification but had no luck. For example, if the code below is stored as add.xq, could $x and $y be supplied in a RUN add.xq command? declare variable $x external; declare va

[basex-talk] Introspection bug in BaseX7.8 beta 4cfa54c ?

2014-01-30 Thread jean-marc Mercier
Hello, As bug https://github.com/BaseXdb/basex/issues/839 has been closed, I tried to upgrade from BaseX7.8 6aeaebf to BaseX beta_4cfa54c. Unfortunately, this bug still appears in 4cfa54c, and I rolled back again to beta 6aeaebf . Did I misunderstoog something ? Cheers ___

Re: [basex-talk] How do I increase Java's heap size with the flag -Xmx?

2014-01-30 Thread Dirk Kirsten
Hello Daiane, it is unclear to me what you are actually doing. Has there already been a basex file within /usr/bin or did you create it yourself? Based on your previous question and the provided answer by Neven Jovanovic the zip archive would not automatically unpack to /usr/bin. Let's analyze th

[basex-talk] How do I increase Java's heap size with the flag -Xmx?

2014-01-30 Thread DAIANE ROBERTA CANDIDA
Hello, I have been trouble with loading lots of xml files into the basex. I using Ubunto OS. The commands below I used to perform the loading files: CREATE DB bd_inex2009;SET TEXTINDEX false;SET ATTRINDEX false;SET AUTOFLUSH false;SET ADDCACHE true;SET INTPARSE true;SET DTD false;ADD /home/ar

[basex-talk] Use of attribute index

2014-01-30 Thread Robert schlichtner
Hello, I found that a number of similar queries have quite different performance: xquery doc('mcev_temp_5/20140130_11_55_40.xml')//column[@name='KLV_m1_rdr']/v takes only 0.68ms, which is great. But xquery doc('mcev_temp_5/20140130_11_55_40.xml')//column[@name='KLV_m1_rdr']/v[1] takes 147

Re: [basex-talk] How do you update Basex to 7.7.2 version?

2014-01-30 Thread DAIANE ROBERTA CANDIDA
That problem is solved. Thanks. > Date: Wed, 29 Jan 2014 15:57:55 +0100 > From: filologan...@gmail.com > To: basex-talk@mailman.uni-konstanz.de > Subject: Re: [basex-talk] How do you update Basex to 7.7.2 version? > > Daiane, > > Christian has explained this nicely here and on the wiki, but let