freenode/#sicl - IRC Chatlog
Search
8:21:19
beach
I am not sure how to check that. I mean, I can't wait until it crashes to see, and I can't survey memory usage every minute of the day either.
8:22:09
beach
My SBCL heap is 10GB, but I managed to do that on a machine with half this much memory.
8:26:30
beach
I can not understand why an application leaking memory would make the computer grind to a sudden halt.
8:26:59
beach
I would think it would start by paging, getting slower, and then, when the application ran out of (virtual) memory, the system would kill it.
8:27:24
no-defun-allowed
i've had embarrasing pauses occur when i assume something is going way too hard on memory or processing time
8:29:35
no-defun-allowed
with riot.im, youtube and stackoverflow open my firefox is using 340 to 500mb, presumably i saw some major gcs
8:33:54
heisig
beach: I am sorry to hear that your computer is still giving you trouble. I would guess your problem is either hardware related, or a problem of the GPU driver. The other software components of a Linux system are usually quite stable.
8:35:59
beach
Sometimes it even crashes 5 minutes after I reboot, and I have not had time to do anything then.
8:39:13
shka_
beach: well, that would not help with faulty power supply, but hardware is supposed to be fine
8:39:38
no-defun-allowed
[here's my leak tester if you still think that's a problem](https://gitlab.com/snippets/1765899)
8:40:51
no-defun-allowed
mine gets killed at around 8300MiB. i have 8gb memory and 2gb swap with firefox, emacs and xfce4-terminal open.
8:41:17
beach
I need to try to get some real work done today. It is 10:40, and I haven't done anything (other than house chores and shopping for food).
8:41:35
no-defun-allowed
stuff gets very slow around 6500mb, X is laggy and my music starts to chop up
8:43:30
no-defun-allowed
mine will freeze, audio will loop the last second or so and the screen will become garbage or blank out
8:45:53
beach
Ah, that's different from mine. Here, the screen looks fine, but I can do absolutely nothing.
8:57:50
no-defun-allowed
so when (make-instance 'boot) prints out the phases it's in, are those just compiling the same code with the last phase's system?
8:58:36
beach
Often it's the same code, yes, but in different environments, with different definitions of macros and such.
8:59:00
beach
Like, typically DEFCLASS, DEFGENERIC, DEFMETHOD mean different things in different environments.
9:01:15
beach
That's the very idea behind this bootstrapping technique. Maybe something else would be possible, but that's what I came up with.
9:02:28
beach
Yes, given the constraints (no playing with package names like SBCL does), first-class global environments seem to be the solution.
9:07:31
beach
Besides, I want first-class global environments in CLOSOS anyway. Even in just SICL, I may use one environment for system stuff like the compiler and assembler and one for user stuff that has only the entry point to the compiler. This way, SICL would be much less vulnerable to installing some malignant code.
9:11:55
beach
Absolutely! Playing with new features of the system without generating an entirely new system every time.
9:14:47
no-defun-allowed
where could i find the initialization code for instances of sicl-extrinsic-environment:environment?
9:17:04
beach
The non-minimal environment contains a lot of stuff and it got confusing to debug the bootstrapping code.
9:17:24
beach
With the minimal environment, I get an error from the compiler whenever something is missing.