cancel
Showing results for 
Search instead for 
Did you mean: 

Custom code Ram Usage

ScheurK
8 - Cloud Apps
8 - Cloud Apps

Hi all,

For some of our elasticubes we use custom code to e.g. use fuzzy string matching. However we noticed our RAM usage for custom code amounts to 6GB.

Can anyone else here give me some pointers on how much RAM usage I should expect? 

Is there any article covering best practices for using custom code in Sisense?

Should we explicitly write code statements clearing memory after executing all cells?  

Kind regards,
ScheurK

 

1 REPLY 1

ariel
Sisense Team Member
Sisense Team Member

Hi ScheurK,

 

There is an option to run customcode in the same pod as the bld pod of the EC.
From the CLI:
si datagroups update -name Default -custom-code-mode INTERNAL_CUSTOM_CODE
Assume your data group is Default

This will make sure everything cleanup after the build.
In addition you can use DASK instead of pandas so you can work on a very large data set without being everything in memory. There is example for that.

In any case memory limit of custom code pod can be increased.

Ariel

Voice of Customer
Impact Business Intelligence (BI) and Analytics Market Research

Click Here & Complete Dresner's Wisdom of Crowds® Market Study Survey Today!

Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Need additional support?:

Community Support Request

Don't miss out:

Earn a BETA Launch Challenge Badge!