Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory allocation issues on Linux #134

Open
russellallen opened this issue May 18, 2022 · 0 comments
Open

Memory allocation issues on Linux #134

russellallen opened this issue May 18, 2022 · 0 comments

Comments

@russellallen
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant