[opencms-dev] Out of memory error upload pdfs

David García González david.garciag at fundacionctic.org
Fri Jul 1 09:23:04 CEST 2005


Helo Chris, 
I think the solution is to change the max_allowed_packet property in mysql. By default it is 2M. You have to change it to allow OpenCMS store larger arvhives.
	You only have to put the line:

max_allowed_packet=8M

inside the [mysqld] section in the my.ini configuration file.

-----Mensaje original-----
De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] En nombre de Chris Gamble
Enviado el: jueves, 30 de junio de 2005 18:27
Para: opencms-dev at opencms.org
Asunto: [opencms-dev] Out of memory error upload pdfs

I am once again trying to load our pdf series into opencms. I am using version 6.0 release, postgres 7.4 under tomcat 5.5.9 with jdk1.4.2.7. During the publish phase, I get the attached area. Are there any known problems or perhaps a work around I can use for this?

( 1 / 1 ) Publishing file /system/galleries/download/pdf/BAJB.pdf ... Error publishing file "/system/galleries/download/pdf/BAJB.pdf". 
Exception java.lang.OutOfMemoryError
Statistics: published files: 1, published folders: 0, deleted folders: 0, duration: 00:00:07
Exception org.opencms.file.CmsVfsException: Error publishing file "/system/galleries/download/pdf/BAJB.pdf". 
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:217)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:197)
at org.opencms.db.generic.CmsProjectDriver.publishProject(CmsProjectDriver.java:1632)
at org.opencms.db.CmsDriverManager.publishProject(CmsDriverManager.java:4365)
at org.opencms.db.CmsSecurityManager.publishProject(CmsSecurityManager.java:2790)
at org.opencms.file.CmsObject.publishProject(CmsObject.java:1873)
at org.opencms.workplace.threads.CmsPublishThread.run(CmsPublishThread.java:122)
Caused by: java.lang.OutOfMemoryError 



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list