diff --git a/libraries/qsl/sl.q b/libraries/qsl/sl.q index 513af3b..59d49c2 100644 --- a/libraries/qsl/sl.q +++ b/libraries/qsl/sl.q @@ -696,6 +696,13 @@ if[not `confStatus in key .sl; .sl.confStatus:([] name:enlist `;val:enlist ();source:enlist `); ]; +/F/ Runs garbage collector +.sl.gc:{ + res:.Q.gc[]; + .log.info[`sl]"garbage collector returned ",(string res)," bytes to the os"; + res + }; + / /code below does not execute. used only for documentation generation //----------------------------------------------------------------------------//