cancel
Showing results for 
Search instead for 
Did you mean: 

Fresh installation of and java.lang.OutOfMemoryError in 10 s

vgarmash
Champ in-the-making
Champ in-the-making
Hi.

May be my case is unique, but may be it is a bug in default settings. Here is what I did:
  • Installed Alfresco from Alfresco-Labs-3Stable-OOo-Setup.exe on Windows Vista Business 64 Bit using all default settings.

  • Started Alfresco server using shortcut Start->Alfresco Labs->Start Alfresco Server

  • Opened http://localhost:8080/alfresco

  • Logged in as admin/admin and clicked couple nodes in the tree on the left

  • Opened http://localhost:8080/share

  • Entered admin/admin into login form and clicked Login button
Login form hanged out permanently and following messages in the server log:

Exception in thread "DefaultScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[10.10.10.115:56874]" Exception in thread "RMI RenewClean-[10.10.10.115:50503]" Exception in thread "RMI RenewClean-[10.10.10.115:50504]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[10.10.10.115:50501]" Exception in thread "RMI RenewClean-[10.10.10.115:50506]" Exception in thread "RMI RenewClean-[10.10.10.115:50505]" Exception in thread "RMI RenewClean-[10.10.10.115:50502]" java.lang.OutOfMemoryError: PermGen space

Alfresco team should be more careful with default settings :lol:
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
You will find this "feature" of Sun JVMs is well discussed in this forum.   You need to increase the size of your PermGen space.

vgarmash
Champ in-the-making
Champ in-the-making
Guys - let's become more responsible for the code we are providing.
Sun JVM is not responsible for other application behavior. Developers always should provide required settings or adjust default JVM memory settings (here is example from Eclipse developers: http://wiki.eclipse.org/Eclipse.ini). Enterprise level product should not fail in first 10 seconds after installation. It is very easy for Alfresco developers set all necessary JVM settings inside alf_start.bat and I am really surprised that they didn't changed defaults if they know about that issue.