We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SyncFusion.PMML.Base - Memory Size - Load PMML files

Hi,

I would like an advice or feeedback about PMML files loading.
Currently, we have several PMML files: 6 files with a size of 110MB per file.
Our web service need to load these files at startup in order to score some user data.

We use the following code to load the file:
PMMLEvaluatorFactory factory = new PMMLEvaluatorFactory();
PMMLEvaluator evaluator = factory .GetPMMLEvaluatorInstance("MyFile.pmml");

All is ok but I would like to know why the memory size of my application is so large:
iisexpress.exe grows to 2,870,996KB

Can we make something to reduce the memory size ?
Is it possible to load the file with another statement ?

Thank you a lot,

4 Replies

RR Ramkumar R Syncfusion Team February 23, 2017 03:14 PM UTC

Hi All, 

Currently we don’t have any large sized PMML (customer has 110MB sized file) with us. The creation of PMML file with larger size is still in progress and so we couldn’t validate the reported issue today. Once we generated the PMML, we will validate it and update the details to the customer. 

Please let us know if you have any concerns. 

Regards, 
Ramkumar 



RR Ramkumar R Syncfusion Team February 23, 2017 03:51 PM UTC

Hi Anthony, 

Please ignore the previous update and find our comments from below. 

Can we make something to reduce the memory size? 
 
Currently, we don’t have any large sized PMML file. Could you please share your PMML files and the code snippet that would help us to reproduce this issue? 
Is it possible to load the file with another statement? 
There are no other options available. 

Please let us know if you have any queries. 

Regards, 
Ramkumar 



AL Anthony Larre February 24, 2017 09:06 AM UTC

Hi Ramkumar,

Thank you a lot for your answer.
No problem to share one file with you. Please find it (zipped) as attachment.

As I said before, the only lines of code to do are:
using Syncfusion.PMML;

PMMLEvaluatorFactory factory = new PMMLEvaluatorFactory();
PMMLEvaluator evaluator = factory.GetPMMLEvaluatorInstance("SyncFusion.pmml");

You will see the memory of your process grows after this call.

Thank you,

Anthony

Attachment: SyncFusion_6244eebd.zip


RR Ramkumar R Syncfusion Team February 24, 2017 11:46 AM UTC

  
Hi Anthony, 

We have created an incident for the reported issue. We will assist you through incident under your Direct Trac account. Our Direct Trac support system can be accessed from the following link: 


Regards, 
Ramkumar 


Loader.
Live Chat Icon For mobile
Up arrow icon