cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with PDF and PPT upload

sgaucho
Champ in-the-making
Champ in-the-making
Hello,

I have a fresh install of Alfresco share (4.0) and am facing a strange problem. I am unable to upload PDF files bigger than 1 Mb and PPT (powerpoint) files bigger than 4Mb. I can upload small files and other file formats without any problems.

I am not noting anything unusual in the logs.

Is there is default upload size configuration that I am missing? appreciate some troubleshooting suggestions.

The server is running on HTTP with Port 8080. I thought this could be a browser issue so tried using a Webdav client. I could connect successfully using WebDav but the same problem continues.

I fear this is some configuration issue.. Appreciate any suggestions.

tx,
sg
9 REPLIES 9

mitpatoliya
Star Collaborator
Star Collaborator
Some time this behaviour is observed in the community version.
Also, this is because of restriction of memory allocated to alfresco process.
So, as such there is not configuration file where you can exactly specify the file size restriction.
But generally on the servers we do the configurations to provide high heap space and memory to alfresco and it will improve the performance.

sgaucho
Champ in-the-making
Champ in-the-making
thanks for the information.

So what do I need to do? should I increase the Java heap memory in tomcat start process?

tx,
sg

sgaucho
Champ in-the-making
Champ in-the-making
By the way, where is the java memory set in Alfresco 4.0 installation?

I have been searching in vain and cant seem to find it anywhere.. Its not present in catalina.bat file either.

tx

sgaucho
Champ in-the-making
Champ in-the-making
Ok, I changed the java memory setting and restarted tomcat but no changes Smiley Sad

mitpatoliya
Star Collaborator
Star Collaborator
Please Refer this link
https://wiki.alfresco.com/wiki/JVM_Tuning

It will help you in JVM Tuning

sgaucho
Champ in-the-making
Champ in-the-making
Hi,

thanks for the update. I had already found and perused the information in the link provided. But my problem refuses to go away.

As I mentioned previously, I also tried uploading the files using a WebDav client but the problem continues to be the same.

I have another installation of Alfresco (version 3.4) where I dont have any of these problems. Is there anything specific version 4.0?

tx,
sg

digitagangsta
Champ in-the-making
Champ in-the-making
Hi All,

I am working on an implementation where PPTs to be converted to PDFs. I am having issues with PPTs beyond 4MB size.

I have changed the JAVA_OPTS variable content to hold -Xmx4G -XX:MaxPermSize=512M under setenv.sh. Manually reloaded the Server. No help. Tried to run setenv.sh when the Server is running. No help. Still huge ppts fail to upload and get converted.

What areas should I look at?

I am using 4.2.c Community Edition. Its a LAMP setup on Ubuntu 1204 LTS.
Got 8 GB with Dual Core in the Box.

Any help appreciated.

Rajashekhara Gopalarao
mepentium@gmail.com

digitagangsta
Champ in-the-making
Champ in-the-making
Team,

Edit repository.properties file and change the memory bounds, set them to the max file size that you can expect from the end user and you are done (restart the Server once!).

Thanks,
Rajashekhara Gopalarao
mepentium@gmail.com

jackadision
Champ in-the-making
Champ in-the-making
To convert PDF to PPT file format according to me any third party tool is the best option because it doesn’t affect the quality of content after conversion. PDF to PPT converter is also recommended by many of the professionals so try it once.
For More Information: http://www.softwaredownloadcentre.com/software/pdf-ppt-converter.php