Another Memory Problem

View: New views
2 Messages — Rating Filter:   Alert me  

Another Memory Problem

by Klaus Dobbler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey!

I'm working with about 4000 small files in one collection and want to query a node (without content value specification) which is in every xml-file.

Has somebody an idea how i can increase the performance of this query or how i can save memory because i always get an heap space error, although i set the maximum heap space of exist (in startup.bat) to the whole main memory. (1 GB).

ava.lang.OutOfMemoryError: Java heap space

at org.apache.xmlrpc.Base64.discardWhitespace(Base64.java:395)

...

at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:436)

I'm using exist 1.2.3 (rev 7866).

Thank you all very much for trying to help me solving this problem, regards

Klaus



--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

Re: Another Memory Problem

by Dannes Wessels-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Tue, Jul 1, 2008 at 2:01 PM, Klaus Dobbler <klaus_d@...> wrote:
> Has somebody an idea how i can increase the performance of this query or how i can save memory because i always get an heap space error, although i set the maximum heap space of exist (in startup.bat) to the whole main memory. (1 GB).
>
> ava.lang.OutOfMemoryError: Java heap space
> at org.apache.xmlrpc.Base64.discardWhitespace(Base64.java:395)
> ...
> at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:436)

hmmm for me this seems to me a *client side* issue. depending on the
actual trace you see. Are there any exist classes involved here?
Please could you tell us *how* you execute the query inside the
database?

regards

Dannes

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open