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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

129029 Feb 22,2017 01:53 PM UTC Feb 24,2017 11:46 AM UTC Predictive Analytics 4
loading
Tags: Predictive Analytics
Anthony Larre
Asked On February 22, 2017 01:53 PM UTC

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,

Ramkumar R [Syncfusion]
Replied On 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 


Ramkumar R [Syncfusion]
Replied On 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 


Anthony Larre
Replied On 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

Ramkumar R [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;