|
|
Choosing A Webhost: |
RE: out of memory error while evaluating xquery: msg#00069text.xml.saxon.help
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> |
|---|---|---|
| Previous by Date: | out of memory error while evaluating xquery, Alexander Wöhrer |
|---|---|
| Next by Date: | Re: NodeWrapper and setContextNode, Frederic Laurent |
| Previous by Thread: | out of memory error while evaluating xquery, Alexander Wöhrer |
| Next by Thread: | Re: out of memory error while evaluating xquery, Jeff Lansing |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |