self icon indicating copy to clipboard operation
self copied to clipboard

Memory allocation issues on Linux

Open russellallen opened this issue 2 years ago • 0 comments

This happens on Linux:

[Wed Apr 06 01:51:26 2022] info -- Scheduler started (according to snapshotAction schedulerInitial)
owner@russell/terminalMorph 1> memory testHeapExpansion
Self VM warning: some memory reserved by the VM has been used;
invoking emergency heap expansion...
Segmentation fault (core dumped)

Jecel commented:

I have not looked at the sources for the VM in the past couple of decades, but I remember Squeak having similar problems. Those were normally related to having pointers treated as signed integers which messed up some comparisons.A complicating factor was at some point Linux stopped allocating space from address 0 up and started giving applications random locations in virtual address space in the name of security. That made heaps that previous seemed to work at up to 2GB suddenly cause problems at much smaller sizes in ways that were hard to reproduce.

russellallen avatar May 18 '22 07:05 russellallen