jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Hybler <m.hyb...@email.cz>
Subject Re: java.lang.OutOfMemoryError: Java heap space
Date Thu, 08 Feb 2007 12:39:43 GMT

Thanks it has been number 2 :) a had to set up it on tomcat in some manager
that it provides.
I have one more question...can i set bigger memory only for jackrabbit
apliccation or is it possible only for whole tomcat?

Jukka Zitting wrote:
> Hi,
> On 2/6/07, Michal Hybler <m.hybler@email.cz> wrote:
>> I have set -Xmx512m on ther server(under winddows xp).
> OK.
>> What does it mean I didnt provide JAR? Where can I get it?
>> It istn standart part of JDK?
> I was referring to the usage message you posted earlier:
> c:\>java -Xmx512m -Xms512m
> Usage: java [-options] class [args...]
>           (to execute a class)
>   or  java [-options] -jar jarfile [args...]
>           (to execute a jar file)
> The usage message is caused by the fact that you didn't provide the
> "class" or "-jar jarfile" part of the command line. The -X options are
> just fine.
>> Its Jakrabbit webapp and on this server runs Apache,Tomcat and about
>> three
>> databases.
> OK.
> None of this sounds too troublesome, so there's three main candidates
> for the cause of your problem: 1) a memory leak in JCR-RMI, 2) your
> memory settings (-Xmx512m) aren't active, 3) there's some other
> application that's hogging all available memory.
> I'm not sure how to best trace this, I tried this with a simple test
> case but couldn't duplicate your problem. Can you post the full stack
> trace you are receiving and the relevant parts of your client code
> where you upload the file and save the transient state?
> BR,
> Jukka Zitting

View this message in context: http://www.nabble.com/java.lang.OutOfMemoryError%3A-Java-heap-space-tf3147963.html#a8864571
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message