libera/#commonlisp - IRC Chatlog
Search
13:33:42
pfdietz
The error checking that the alist element must be of type LIST is handled automatically by CAR on modern implementations.
13:37:25
pfdietz
I wonder how trapping bad accesses can be made to work with very low overhead in the non-trapping case. You don't want to do something heavyweight to set up a handler for conditions.
13:39:04
_death
since car and cdr must have type-error signaling code, maybe implementation don't always choose to inline them
17:24:42
jeosol
Is there a cl utility I can use to check memory consumption with time. I have a long running workflow (takes like 2-3 weeks) and I run several versions of the workflow using different inputs. The input determines the complexity of the task. I am doing meta-optimization over some functions. With a single function, it tends to run fine. With many
17:24:42
jeosol
functions, more complex calculation, the run fails and the computer is restarted. This has happened a few times I am trying to pin-point the issue
17:49:00
edwlan[m]
ROOM will show you the current memory usage, could you run it in a thread with a loop and a sleep?
18:36:43
jeosol
I know it will be hard to make recommendations without more context, but I am suspecting increased memory usage. I do start SBCL with --dynamic-space-size but perhaps need to increase it to much larger number.
18:38:03
jeosol
edwlan[m]: thanks for your response. I am actually running the application through a container, but previous tests with a repl had the same issues. I suspect it has something to do with the code.
18:40:19
jeosol
edwlan[m]: one think I could do, is do a test and save the results of (room) but it doesn't return an result, just prints to the screen.
18:41:55
edwlan[m]
You could jump to source and look at its implementation too, there’s probably some implementation-specific API for this information.
18:43:25
jeosol
one thing I could do, is rebuild the container, but have a new function using (room) and extract some info say every 30mins and save that to a file. If the run fails, I am still able to view the profile
0:37:20
yitzi
There are commits from Rettig from at least 2016 in the Franz github repo. Some from last year also, although those are coauthored.
0:38:33
yitzi
Lots of other examples, but here is one https://github.com/franzinc/loop/commits/master