You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Cesar Paredes <ce...@gmail.com> on 2016/04/21 22:59:20 UTC

pdf size limit?

Hi, I'm having problems uploading .pdf files bigger than 2.5MB (smaller
.pdf files work just fine).
Upload completes, but file shows as "deleted" showing a "deleted" message
on whiteboard.
Tried with demo openmeetings at https://om.alteametasoft.com/openmeetings
with the same results.
So, I was wondering, is there a size limit for .pdf files? or a limit with
the pdf2swf converter?.
Any way to workaround this?

Using openmeetings version 3.1.1

Thanks!

Re: pdf size limit?

Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks a lot for the investigation, I believe this will help others :)

On Sun, Apr 24, 2016 at 5:31 AM, Cesar Paredes <ce...@gmail.com>
wrote:

> Managed to solve the problem... it was basically Java running out of
> memory due to /tmp filesystem getting filled.
> Changed /tmp size from 1GB to 3GB and now 50mb pdf works just fine.
>
> Maybe this configuration/requirement should be included on install
> manuals...
>
> BTW, didn't find any errors for pdf2swf in the openmeetings log... but
> found a couple of Java OutOfMemory Warnings, that was the tip-off.
>
> Thanks for your help!
>
> On Sat, Apr 23, 2016 at 12:51 AM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
>> grep openmeetings.log for "pdf2swf"
>>
>> grep -A 5 pdf2swf log/openmeetings.log
>>
>> Maybe this will highlight any error?
>>
>> On Sat, Apr 23, 2016 at 1:46 AM, Cesar Paredes <ce...@gmail.com>
>> wrote:
>>
>>> Hi, thanks for your help, tried the command line pdfwswf, converted a
>>> 16MB pdf with no problems.
>>> Convertion took about 6 seconds, message: "NOTICE  Writing SWF file
>>> resulting_swf.swf"
>>> and the result is written just fine.
>>> Tried the same file on my server from openmeetings room and on
>>> https://om.alteametasoft.com/openmeetings and got the "deleted" error...
>>> Any ideas?
>>> Thanks!
>>>
>>> On Fri, Apr 22, 2016 at 4:00 AM, Maxim Solodovnik <so...@gmail.com>
>>> wrote:
>>>
>>>> Tried to reproduce this
>>>>
>>>> 42.7Mb pdf file was converted without any issues
>>>> maybe you can try to convert using command line on server and check the
>>>> output?
>>>> the command should be something like this:
>>>>
>>>> pdf2swf -s insertstop -s poly2bitmap --flashversion=9 -i -j 85 -s
>>>> zoom=72 *_my_huge_pdf_file.*pdf *resulting_swf*.swf
>>>>
>>>> On Fri, Apr 22, 2016 at 2:59 AM, Cesar Paredes <cesareparedes@gmail.com
>>>> > wrote:
>>>>
>>>>> Hi, I'm having problems uploading .pdf files bigger than 2.5MB
>>>>> (smaller .pdf files work just fine).
>>>>> Upload completes, but file shows as "deleted" showing a "deleted"
>>>>> message on whiteboard.
>>>>> Tried with demo openmeetings at
>>>>> https://om.alteametasoft.com/openmeetings
>>>>> with the same results.
>>>>> So, I was wondering, is there a size limit for .pdf files? or a limit
>>>>> with the pdf2swf converter?.
>>>>> Any way to workaround this?
>>>>>
>>>>> Using openmeetings version 3.1.1
>>>>>
>>>>> Thanks!
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax
>>>>
>>>
>>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


-- 
WBR
Maxim aka solomax

Re: pdf size limit?

Posted by Cesar Paredes <ce...@gmail.com>.
Managed to solve the problem... it was basically Java running out of memory
due to /tmp filesystem getting filled.
Changed /tmp size from 1GB to 3GB and now 50mb pdf works just fine.

Maybe this configuration/requirement should be included on install
manuals...

BTW, didn't find any errors for pdf2swf in the openmeetings log... but
found a couple of Java OutOfMemory Warnings, that was the tip-off.

Thanks for your help!

On Sat, Apr 23, 2016 at 12:51 AM, Maxim Solodovnik <so...@gmail.com>
wrote:

> grep openmeetings.log for "pdf2swf"
>
> grep -A 5 pdf2swf log/openmeetings.log
>
> Maybe this will highlight any error?
>
> On Sat, Apr 23, 2016 at 1:46 AM, Cesar Paredes <ce...@gmail.com>
> wrote:
>
>> Hi, thanks for your help, tried the command line pdfwswf, converted a
>> 16MB pdf with no problems.
>> Convertion took about 6 seconds, message: "NOTICE  Writing SWF file
>> resulting_swf.swf"
>> and the result is written just fine.
>> Tried the same file on my server from openmeetings room and on
>> https://om.alteametasoft.com/openmeetings and got the "deleted" error...
>> Any ideas?
>> Thanks!
>>
>> On Fri, Apr 22, 2016 at 4:00 AM, Maxim Solodovnik <so...@gmail.com>
>> wrote:
>>
>>> Tried to reproduce this
>>>
>>> 42.7Mb pdf file was converted without any issues
>>> maybe you can try to convert using command line on server and check the
>>> output?
>>> the command should be something like this:
>>>
>>> pdf2swf -s insertstop -s poly2bitmap --flashversion=9 -i -j 85 -s
>>> zoom=72 *_my_huge_pdf_file.*pdf *resulting_swf*.swf
>>>
>>> On Fri, Apr 22, 2016 at 2:59 AM, Cesar Paredes <ce...@gmail.com>
>>> wrote:
>>>
>>>> Hi, I'm having problems uploading .pdf files bigger than 2.5MB (smaller
>>>> .pdf files work just fine).
>>>> Upload completes, but file shows as "deleted" showing a "deleted"
>>>> message on whiteboard.
>>>> Tried with demo openmeetings at
>>>> https://om.alteametasoft.com/openmeetings
>>>> with the same results.
>>>> So, I was wondering, is there a size limit for .pdf files? or a limit
>>>> with the pdf2swf converter?.
>>>> Any way to workaround this?
>>>>
>>>> Using openmeetings version 3.1.1
>>>>
>>>> Thanks!
>>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: pdf size limit?

Posted by Maxim Solodovnik <so...@gmail.com>.
grep openmeetings.log for "pdf2swf"

grep -A 5 pdf2swf log/openmeetings.log

Maybe this will highlight any error?

On Sat, Apr 23, 2016 at 1:46 AM, Cesar Paredes <ce...@gmail.com>
wrote:

> Hi, thanks for your help, tried the command line pdfwswf, converted a 16MB
> pdf with no problems.
> Convertion took about 6 seconds, message: "NOTICE  Writing SWF file
> resulting_swf.swf"
> and the result is written just fine.
> Tried the same file on my server from openmeetings room and on
> https://om.alteametasoft.com/openmeetings and got the "deleted" error...
> Any ideas?
> Thanks!
>
> On Fri, Apr 22, 2016 at 4:00 AM, Maxim Solodovnik <so...@gmail.com>
> wrote:
>
>> Tried to reproduce this
>>
>> 42.7Mb pdf file was converted without any issues
>> maybe you can try to convert using command line on server and check the
>> output?
>> the command should be something like this:
>>
>> pdf2swf -s insertstop -s poly2bitmap --flashversion=9 -i -j 85 -s zoom=72
>> *_my_huge_pdf_file.*pdf *resulting_swf*.swf
>>
>> On Fri, Apr 22, 2016 at 2:59 AM, Cesar Paredes <ce...@gmail.com>
>> wrote:
>>
>>> Hi, I'm having problems uploading .pdf files bigger than 2.5MB (smaller
>>> .pdf files work just fine).
>>> Upload completes, but file shows as "deleted" showing a "deleted"
>>> message on whiteboard.
>>> Tried with demo openmeetings at
>>> https://om.alteametasoft.com/openmeetings
>>> with the same results.
>>> So, I was wondering, is there a size limit for .pdf files? or a limit
>>> with the pdf2swf converter?.
>>> Any way to workaround this?
>>>
>>> Using openmeetings version 3.1.1
>>>
>>> Thanks!
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>


-- 
WBR
Maxim aka solomax

Re: pdf size limit?

Posted by Cesar Paredes <ce...@gmail.com>.
Hi, thanks for your help, tried the command line pdfwswf, converted a 16MB
pdf with no problems.
Convertion took about 6 seconds, message: "NOTICE  Writing SWF file
resulting_swf.swf"
and the result is written just fine.
Tried the same file on my server from openmeetings room and on
https://om.alteametasoft.com/openmeetings and got the "deleted" error...
Any ideas?
Thanks!

On Fri, Apr 22, 2016 at 4:00 AM, Maxim Solodovnik <so...@gmail.com>
wrote:

> Tried to reproduce this
>
> 42.7Mb pdf file was converted without any issues
> maybe you can try to convert using command line on server and check the
> output?
> the command should be something like this:
>
> pdf2swf -s insertstop -s poly2bitmap --flashversion=9 -i -j 85 -s zoom=72
> *_my_huge_pdf_file.*pdf *resulting_swf*.swf
>
> On Fri, Apr 22, 2016 at 2:59 AM, Cesar Paredes <ce...@gmail.com>
> wrote:
>
>> Hi, I'm having problems uploading .pdf files bigger than 2.5MB (smaller
>> .pdf files work just fine).
>> Upload completes, but file shows as "deleted" showing a "deleted" message
>> on whiteboard.
>> Tried with demo openmeetings at https://om.alteametasoft.com/openmeetings
>> with the same results.
>> So, I was wondering, is there a size limit for .pdf files? or a limit
>> with the pdf2swf converter?.
>> Any way to workaround this?
>>
>> Using openmeetings version 3.1.1
>>
>> Thanks!
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>

Re: pdf size limit?

Posted by Maxim Solodovnik <so...@gmail.com>.
Tried to reproduce this

42.7Mb pdf file was converted without any issues
maybe you can try to convert using command line on server and check the
output?
the command should be something like this:

pdf2swf -s insertstop -s poly2bitmap --flashversion=9 -i -j 85 -s zoom=72
*_my_huge_pdf_file.*pdf *resulting_swf*.swf

On Fri, Apr 22, 2016 at 2:59 AM, Cesar Paredes <ce...@gmail.com>
wrote:

> Hi, I'm having problems uploading .pdf files bigger than 2.5MB (smaller
> .pdf files work just fine).
> Upload completes, but file shows as "deleted" showing a "deleted" message
> on whiteboard.
> Tried with demo openmeetings at https://om.alteametasoft.com/openmeetings
> with the same results.
> So, I was wondering, is there a size limit for .pdf files? or a limit with
> the pdf2swf converter?.
> Any way to workaround this?
>
> Using openmeetings version 3.1.1
>
> Thanks!
>



-- 
WBR
Maxim aka solomax