Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: out of memory error while evaluating xquery: msg#00069

text.xml.saxon.help

Subject: RE: out of memory error while evaluating xquery

If you've got a query that's running from the command line, but not from
within Tomcat, then the problem clearly lies in the Tomcat
configuration. I'm afraid I can't help you much with that.

Michael Kay

> -----Original Message-----
> From: saxon-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> [mailto:saxon-help-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx]
> On Behalf Of
> Alexander Wöhrer
> Sent: 14 November 2003 20:00
> To: saxon-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> Subject: [saxon] out of memory error while evaluating xquery
>
>
> Hello everybody,
>
> I'm using Saxon 7.8 in my application for joining XML Docs or
> transforming them.
>
> My problem:
>
> The document to query looks like this:
>
> <resourceSet>
> <resource>
> <entry id="1">
> <name>Alex</name>
> <address>Vienna</address>
> <phone>043</phone>
> </entry>
> <resource>
> ...more resourced nodes
> </resourceSet>
>
> Everyting works fine if I am having only a few resource nodes.
>
> But when the document grows up to 10.000 resource nodes
> (retrieved from an xindice XMLDB), the evaluate function of
> the XQueryExpression fails with an java.lang.OutOfMemory Error.
>
> Strange: it works with the same data in a standalone
> application - but not when done inside the run methode of a
> thread in my tomcat application? I don't think there is a
> restriction of how many memory a thread is allowed to use.
>
> Tried to increase the java heap size up to 128 MB (with
> -Xmx128m) and more, still not working.
>
> The query looks like this:
>
> for $r in /resourceSet/resource
> return
> <row>
> <col>{ $r/entry/@id }</col>
> <col>{ $r/entry/name/text() }</col>
> <col>{ $r/entry/address/text() }</col>
> <col>{ $r/entry/phone/text() }</col>
> </row>
>
> Hope somebody can help me with this prob,
> Alexander Wöhrer
> University of Vienna
>
>
>
> -------------------------------------------------------
> This SF. Net email is sponsored by: GoToMyPC
> GoToMyPC is the fast, easy and secure way to access your
> computer from any Web browser or wireless device. Click here
> to Try it Free!
> https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/
g22lp.tmpl
_______________________________________________
saxon-help mailing list
saxon-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/saxon-help



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation