Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed Sep 17, 2014 7:29 am

Hello,

Thanks for your feedback.
We have checked a 21 MB html file, it is able to be converted to pdf without the OutofMemory exception, so please make sure that you have sufficient amount of memory reserved for the process.
Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Wed Sep 17, 2014 9:20 am

Hi :

We have tested it on machine having 4 GB RAM & Core i3 processor.
What configuration it needs to load 21 MB html?


Thanks,
Shailesh

shaileshggg
 
Posts: 34
Joined: Thu Aug 14, 2014 3:51 am

Wed Sep 17, 2014 9:42 am

Hello,

Thanks for your quick reply.
If it is caused by out of memory, you only increase the RAM. And you could open the task manager to monitor the memory consumption while converting 21 MB html, if it is not caused by the out of memory, please send your file to us, we will test it at our end. Thanks for your cooperation.
BTW, what's your system?
Regards,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Wed Sep 17, 2014 11:30 am

Hello :

We have sent you one link previously, we checked on the same file.
LoadFromHTML method now returns successfully.
After LoadFromHTML peak memory is about 900 MB to 1 GB which is large.
After that, when we are saving the file in pdf using SaveToFile(f_strPDFPath, Spire.Pdf.FileFormat.PDF); , this method throws out of memory exception.
We have attached system configuration.
Please check at your side and suggest solution.


Thanks,
Shailesh

shaileshggg
 
Posts: 34
Joined: Thu Aug 14, 2014 3:51 am

Thu Sep 18, 2014 8:25 am

Hello,

Thanks for your response.
Due to the OutofMemory problem is very complex and this needs more time for analysis, as soon as we made some significant progress, we will inform you immediately.
In this period, we recommand you could try the other method to convert html to pdf. You could get more information about it from the following link.
http://www.e-iceblue.com/Tutorials/Spir ... lugin.html
Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Sep 18, 2014 8:26 am

Hello,

Is your system windows 7?

Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Sep 18, 2014 8:31 am

Hi :

Thanks for the reply.
Is that issue reproduced at your end?
Please let us know about your daily progress on this issue as we need this library on urgent basis.
Yes , OS is windows 7.


Thanks,
Shailesh

shaileshggg
 
Posts: 34
Joined: Thu Aug 14, 2014 3:51 am

Thu Sep 18, 2014 8:47 am

Hello,

Thanks for your quick reply.
We didn't have reproduced the issue you mentioned that SaveToFile method throws out of memory exception, however, we found other new issue in LoadFromHTML method. We are investigating the reason.
AS this, we recommend you firstly try the other method we mentioned above. And we have also tested it, it works fine. Hope the method can be helpful.
Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Sep 18, 2014 9:16 am

Hello :

Thanks for providing other option.
We copied the plugins folder where we kept Spire.PDF dll.
We have tried the option you provided but it throws error :
The conversion provider cann't be found.
Please make sure:
1. the folder "plugins" under the same folder of Spire.Pdf.dll
2. exists "plugins\HTMLConverter.dll" and other "plugins\*.dll"
We have folder with all dll as downloaded still throwing error.



Thanks,
Shailesh

shaileshggg
 
Posts: 34
Joined: Thu Aug 14, 2014 3:51 am

Thu Sep 18, 2014 9:35 am

Hello,

Firstly please check if the version is correct. And you could use the following method, then try it again.
Code: Select all
HtmlConverter.PluginPath = "plugins";

Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Mon Sep 22, 2014 6:51 am

Hello :

Any updates?



Thanks,
Shailesh

shaileshggg
 
Posts: 34
Joined: Thu Aug 14, 2014 3:51 am

Mon Sep 22, 2014 8:00 am

Hello,

Sorry that our Dev team still investigate the issue, we will update you as soon as we get a feedback.
The other plugin methd can't fulfill your needs? If there are any questions, welcome to get it back to us.
Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Mon Sep 22, 2014 12:45 pm

OK, Thanks for updating.
That plugin is working fine for now.
Thanks for providing the same but we need a permanent solution.


Thanks,
Shailesh

shaileshggg
 
Posts: 34
Joined: Thu Aug 14, 2014 3:51 am

Tue Sep 23, 2014 2:18 am

Hello,

Thanks for your response.
You could use the plugin as a permanent solution basis on its privacy.
Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Tue Sep 23, 2014 6:01 am

Hello :

Thanks for your reply.
We have tested the plugin & its working fine but we cant use that plugin for permanent basis as it requires the folder "plugins" whose size is near about 53 MB.
We need to ship this folder through installer and resulting size of installer will be much large.
So, please provide us fix solution in your library as we just need to convert html to pdf.
We need this fix on urgent basis please, as we are waiting a long.
As already said, once this done, we need to purchase your library.


Thanks,
Shailesh

shaileshggg
 
Posts: 34
Joined: Thu Aug 14, 2014 3:51 am

Return to Spire.PDF

cron