Skip to content

mem-track: Add memory tracker, scale-down string and byte sizes - #1418

Merged
TristonianJones merged 3 commits into
cel-expr:masterfrom
TristonianJones:mem-tracker
Aug 19, 2026
Merged

mem-track: Add memory tracker, scale-down string and byte sizes#1418
TristonianJones merged 3 commits into
cel-expr:masterfrom
TristonianJones:mem-tracker

Conversation

@TristonianJones

@TristonianJones TristonianJones commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

Simple peak memory tracker and scale down the string & bytes costs.

Future changes will hook up the tracker to a memory limiter, and make aggregate
computations atomic on a given object. The caveat for proper use is that the
SizeCalculator should not change between environment configurations.

jnthntatum
jnthntatum previously approved these changes Aug 17, 2026
Comment thread common/types/memory_tracker.go
jnthntatum
jnthntatum previously approved these changes Aug 19, 2026
@TristonianJones
TristonianJones merged commit ca02187 into cel-expr:master Aug 19, 2026
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants