MultiThreading Java Code Sample

Dear There,
Hope everything is going good , then ;
Can you provide me with a sample multi-threading java code, because I tried multiple time to execute the code but I got an error behind some of the files aren’t convert to pdf.

Best Regards!

Hello,

Thank you for your inquiry.

Could you please specify the error that you have got . Also will be useful if you share with us the code example that you used for conversion . We will investigate the code to find a reason of the issue.

We will wait for your details.

--------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Please check the attached file , my main method comes under the maven package.

Also I attached with the application the logs that I got more than one time please check them.

I’m waiting your recommendations. please advise.

Best Regards!

I’m waiting to revise my code, and get your feedback ?


Best Regards!

Hello,


Thank you for your details.

We will investigate the details and when we will have any information you will be notified .

-------

Best regards,

Evgen Efimov


http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Hello ,

We have tested your code and seems it is works for us with our test files. We tried to convert .pdf , .doc and .jpg documents with your code and all works well. We think that the issue can depend from your files that you try to convert to .pdf format.

Could you please share with us files that you tried to convert from these storage folders .

We will wait for your files and we will be glad to help you.

-------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Can we have a meeting and share all the results with you by applying the issue and duplicate it.

Are you available now ?

Best Regards!

In case if I will connect to your dev. machine we can meet via TeamViewer session, please share the credentials when you will be ready to connect.


---------

Best regards,

Evgen Efimov


http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Here is a GoToMeeting Invitation, please join me

1. Please join my meeting, Wednesday, March 16, 2016 at 12:00 PM Jordan Standard Time.
https://global.gotomeeting.com/join/209163141

2. Use your microphone and speakers (VoIP) - a headset is recommended. Or, call in using your telephone.

Dial +1 (571) 317-3122
Access Code: 209-163-141
Audio PIN: Shown after joining the meeting

Meeting ID: 209-163-141

GoToMeeting®
Online Meetings Made Easy®

Not at your computer? Click the link to join this meeting from your iPhone®, iPad®, Android® or Windows Phone® device via the GoToMeeting app.

Dear Evgen,

Am waiting to join us by GoToMeeting , I sent the invitation previously.
Please check the previous post.

Best Regards!
Hello,

Unfortunately according on our support policies we can contact with you only via TeamViewer. If it is not possible for you , then please share your files that we asked in previous post. If these files have some private information then you can send them by email (support@groupdocs.com).

We will investigate these files to find a reason of your issue.

-----------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Please check support email . I already sent the .zip file.


Best Regards!

Is there any new news ?


Best Regards!
Hello,

Yes , we have tested your files and we have managed to reproduce some issues :

First issue that we got is "java.lang.OutOfMemoryError: Java heap space" - we just increased our JVM parameters to -Xms1024m -Xmx1024m and then the issue doesn't occurred anymore. It is common issue if use multi-threading and if you see the issue too you can also investigate this article for how to avoid the issue.

Next issue that we got is "com.groupdocs.conversion.exception.InternalException: Can't convert to html!" and the issue has strange character . It occurs only if convert .pptx files with multi-threading. So we need more time for investigation the issue. When we will have any news, then you will be notified.

---------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Dear there,


related to the first issue which you mentioned it before ; i didn’t face this issue as I modify the heap size he xms , and xmx

the issue what am asking about referring to the second issue multi-threading conversion for .pptx files. I’m waiting to hear your feedback after the investigation.

Many Thanks.

Best Regards!
Hello,

Our product team was informed about the issue and we created a ticket in our system (CONVERSIONJAVA-142). We have linked this forum thread to the same issue. Because, at the moment our product team works on the new generation of the GroupDocs.Conversion library, then the issue should be fixed in it. We will notify you here once this issue is resolved.

We apologize for the inconvenience.

---------

Best regards,
Evgen Efimov

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+