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 <[email protected]>
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 <[email protected]>
> 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 <[email protected]>
>> 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 <[email protected]>
>>> 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
>

Reply via email to