bd2kccd / py-causal

Other
204 stars 50 forks source link

java : heap space #103

Open Angela446-lgtm opened 3 years ago

Angela446-lgtm commented 3 years ago

Is there any way to change the heap size when I run a code from jupyter? I am working on GFCI and trying the testId = 'kci-test' (and scoreId = 'mvp-bic-score') and given that my dataset is consists of 120 variables I run into a that heap space error.

Here is my code:

tetrad.run(algoId = 'gfci', dfs = df, testId = 'kci-test',alpha = 0.05, kernelType =2, scoreId = 'mvp-bic-score',

       maxDegree = 3, maxPathLength = -1, 
       completeRuleSetUsed = False, faithfulnessAssumed = True, verbose = True,
        resamplingEnsemble = 1, addOriginalDataset = True, colliderDiscoveryRule =2)