pluto icon indicating copy to clipboard operation
pluto copied to clipboard

Memory usage optimisation

Open DrDeano opened this issue 4 years ago • 1 comments

When compiling in release-small we should try and reduce the memory/RAM usage of the kernel. This would need a dynamic heap instead of the static 10% of available RAM heap. In addition, we can introduce memory profiling to get the maximum RAM used when running the runtime tests.

DrDeano avatar Jan 02 '21 22:01 DrDeano

Memory profiling would be very nice to have. I wonder if we could add make an action that would profile a PR then compare that against a profile of the PR's base branch.

I reckon a dynamic heap size would be good to have for all build modes, but perhaps it would be better for performance if it was static on release-fast. We should look into it.

SamTebbs33 avatar Jan 03 '21 11:01 SamTebbs33