Replies: 3 comments
|
Addendum: some interesting references about garbage collectors: |
0 replies
|
An interesting feature of Julia's GC: julia> @time G = GroebnerBasis.f4(I);
0.523836 seconds (676.75 k allocations: 39.873 MiB, 7.45% gc time, 77.35% compilation time) |
0 replies
|
Here's some cool stuff with heap profiling that GHC (haskell) uses https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/profiling.html#profiling-memory-usage. In particular it can plot memory usage by type or by source as a function of time. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm curious about the nuances of memory allocation (malloc) in Macaulay2, at the engine, interpreter, and top level, and I'm hoping to use this space to share insights, best practices, etc.
I'll start off with some questions.
I. Engine
- malloc from GNU C
- jemalloc used in Rust
- tcmalloc
- malloc substitute from bdw-gc
- some more
our_new_delete?II. Interpreter
III. Top level
All reactions