Skip to content

Commit a3098e9

Browse files
committed
Add JVM settings for mybinder.org
1 parent 7d055e7 commit a3098e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/Counterfactuals.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"source": [
1818
"import trustyai\n",
1919
"\n",
20-
"trustyai.init(\"-Xmx1900m\",\n",
20+
"trustyai.init(\n",
21+
" # JVM settings specific for mybinder.org's limitations\n",
22+
" \"-Xmx128m\", \"-XX:+UseG1GC\", \"-XX:MaxGCPauseMillis=1000\",\n",
2123
" path=[\n",
2224
" \"../dep/org/kie/kogito/explainability-core/1.8.0.Final/*\",\n",
2325
" \"../dep/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar\",\n",

0 commit comments

Comments
 (0)