cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.OutOfMemoryError: Java heap space

kase
Champ in-the-making
Champ in-the-making
Hi!

I running "Alfresco-Community-2.1R1" on Suse10 with 1 GB RAM and I try to copy a bunch of file via windows explorer and after a while I get error.
On tomcat/logs/catalina.out the error message is:
10:28:41,625 ERROR [alfresco.smb.protocol] Closing session due to throwable
java.lang.OutOfMemoryError: Java heap space

Do I need to install more RAM or anything else?
Thanks for your help.
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
How much RAM have you actually assigned to the JVM? If you installed Alfresco from a package it will probably be given 512MB - if you just added the WAR file to tomcat yourself then it will probably only be given 64MB which is not enough! Smiley Happy Also you may want to use MySQL or similar rather than the default of HSQL. We don't know of any CIFS performance issues related to memory leaks so it's probably just a case of giving the JVM a little more RAM to play with.

Thanks,

Kevin

kase
Champ in-the-making
Champ in-the-making
Total I have 1 GB RAM installed and 512 MB is assign to Java, I incresed it to 700 MB and now I don´t get the error message but it still slow when I browse the folders with windows explorer.
If I have about 50 GB of data, how much RAM do you recommend?