He has a typo in his java arguments:
"java -Xmx512Mb" -> the "Mb" is wrong.

Michal, try "java -Xmx512m -Xms512m" instead.

-----Ursprüngliche Nachricht-----
Von: Java Prog [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 1. Februar 2007 10:08
An: [email protected]
Betreff: Re: java.lang.OutOfMemoryError: Java heap space

I have managed to put more than 100mb file to Jackrabbit (remotely) -
with default memory configuration. I have use Derby Db, and Derby
persistence manager. It took some time but  worked (however, other
work was impossible due to single connection to th database).

Can you specify your configuration, and put slightly more line of
stacktrace?

On 1/31/07, Michal Hybler <[EMAIL PROTECTED]> wrote:
>
> I have tried to send 10Mb file to jackrabbit repository and this exception
> has been thrown
>
> org.apache.jackrabbit.rmi.client.RemoteRepositoryException: Error occurred
> in server thread; nested exception is:
>         java.lang.OutOfMemoryError: Java heap space: Error occurred in
server
> thread; nested exception is:
>         java.lang.OutOfMemoryError: Java heap space
>         ........
> If I tried it with smaller file(about 5 Mb) it was working good.
>
> I have tried to set JVM memory greater (512Mb) by command "java -Xmx512Mb"
> but nothing changed.
> Does someone have experiences with it?
> Thanks for help
> Michal Hybler
> --
> View this message in context:
http://www.nabble.com/java.lang.OutOfMemoryError%3A-Java-heap-space-tf314796
3.html#a8726755
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>

Reply via email to