AnsweredAssumed Answered

Java heap warning... How can I get rid of it?

Question asked by meansartin14 on Dec 19, 2008
Latest reply on Dec 22, 2008 by meansartin14
When I start Alfresco, there are 15 INFO lines, 2 WARN lines and 0 ERROR lines.

Here's a full copy of output to alfresco.log upon startup:
11:09:14,515 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
11:09:18,886 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
11:09:19,144 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
11:09:20,239 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data
11:09:20,272 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
11:09:20,433 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
11:09:20,436 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
11:09:20,875 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_11-b03; maximum heap size 455.125MB
11:09:20,875 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 455.125MB is less than recommended 512MB
11:09:20,876 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (c 1342) schema 1000 - Installed version 3.0.0 (c 1342) schema 1000
11:09:20,957 WARN  [org.alfresco.linkvalidation.LinkValidationServiceImpl] LinkValidationService Update is not running (virtualization server not registered or started)
11:09:29,112 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 21 Web Scripts (+0 failed), 23 URLs
11:09:29,113 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 137.55699ms)
11:09:29,284 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 134 Web Scripts (+0 failed), 136 URLs
11:09:29,284 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 168.852ms)
11:09:29,304 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
11:10:00,567 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

I am particularly interested in fixing the following line:
11:09:20,875 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 455.125MB is less than recommended 512MB

How do I get the Java maximum heap size back to 512? I have never run into this problem before.

Outcomes