previous setting was
JAVA_OPTS= -Xms256M -Xmx1024M
and now
set JAVA_OPTS=-server -Xms256M -Xmx1024M -Xrs
Now I am able in running Jahia, but at startup there are more than 700 MB of RAM taken for java processes, and reached a 4GB peak during startup. Is there some memory leak?
Pasquale Rossiello
Philippe Vollenweider wrote:
Hello,
You can change the JAVA_OPTS value (Xms) on your catalina.sh of catalina.bat file.
Cheers,
Philippe.
At 24.09.2004 17:00, you wrote:
Hello,
after restarting Jahia on a production environment, I get the following messages in consolle:
____. __/\ ______| |__/\. _______ __ .____| | \ | +----+ \ _______| /--| | | - \ _ | : - \_________ \\______: :---| : : | : | \________> |__\---\_____________:______: :____|____:_____\ /_____|
. . . s t a r t i n g j a h i a b u i l d 5 8 2 2 . . .
Copyright 2002-2003 - jahia http://www.jahia.org - all rights reserved
**************************************************************************
* The contents of this file, or the files included with this file, are *
* subject to the current version of JAHIA Community Source License for *
* the Jahia Portal Server (the "License"); You may not use this file *
* except in compliance with the License. You may obtain a copy of the *
* License at http://www.jahia.org. See the License for the rights, *
* obligations and limitations governing use of the contents of the file. *
* The Original and Upgraded Code is the Jahia Portal Server. The *
* developer of the Original and Upgraded Code is JAHIA Ltd. JAHIA Ltd. *
* owns the copyrights in the portions it created. All Rights Reserved. *
**************************************************************************
java.lang.OutOfMemoryError
0 [main] ERROR - Error while retrieving connection to database :
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFact
ory, cause:
java.sql.SQLException: General error: out of memory
at org.hsqldb.Trace.getError(Trace.java:225)
at org.hsqldb.Log.runScript(Log.java:864)
at org.hsqldb.Log.open(Log.java:306)
at org.hsqldb.Database$Logger.openLog(Database.java:2602)
at org.hsqldb.Database.<init>(Database.java:203)
at org.hsqldb.jdbcConnection.openStandalone(jdbcConnection.java:2837)
at org.hsqldb.jdbcConnection.<init>(jdbcConnection.java:2416)
at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:176)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv
erConnectionFactory.java:82)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(Poolable
ConnectionFactory.java:300)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(Bas
icDataSource.java:838)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:821)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
.java:518)
at org.jahia.services.database.ConnectionDispenser.getConnection(Connect
ionDispenser.java:196)
at org.jahia.services.acl.AclDBUtils.cacheAllACLEntries(AclDBUtils.java:
974)
at org.jahia.services.acl.AclDBUtils.<init>(AclDBUtils.java:126)
at org.jahia.services.acl.AclDBUtils.getInstance(AclDBUtils.java:138)
at org.jahia.services.acl.JahiaACLManagerService.<init>(JahiaACLManagerS
ervice.java:115)
at org.jahia.services.acl.JahiaACLManagerService.getInstance(JahiaACLMan
agerService.java:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jahia.registries.ServicesRegistry.getServiceInstance(ServicesRegi
stry.java:713)
at org.jahia.registries.ServicesRegistry.loadService(ServicesRegistry.ja
va:638)
at org.jahia.registries.ServicesRegistry.init(ServicesRegistry.java:308)
at org.jahia.bin.Jahia.initServicesRegistry(Jahia.java:959)
at org.jahia.bin.Jahia.init(Jahia.java:457)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:935)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:82
3)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:3421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
609)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
loyer.java:307)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:772)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
ava:559)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401
)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:358)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347
)
at org.apache.catalina.core.StandardService.start(StandardService.java:4
97)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:219
0)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
then startup procedure stops and exit without running site.
The hsqldbjahia.script file is 55 MB large.
At this moment our portal site is down.
Kind regards
Pasquale Rossiello
-------=[ pvollenweider at jahia dot com ]=--------- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company
--
Pasquale Rossiello
Area Ricerca e Sviluppo
Twinergy
Casalecchio di Reno (Bo), Via de Carracci 13, Tel. 051 61 911 20, Fax. 051 560 038
Reggio Emilia, Via M.K. Gandhi 12, Tel. 0522 299 202, Fax. 0522 299 258
Ravenna, Viale Newton 30, Tel. 0544 471 250, Fax. 0544 471 935
http://www.twinergy.it/
[EMAIL PROTECTED]
mobile: 347-9165814
