You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# step 1: run with 'zig build run', using 3MB of memory
zig build run
# step 2: run binary generated by 'zig build',using 22MB of memory
zig build
./zig-out/bin/hello
Expected Behavior
Memory usage should be consistent
The text was updated successfully, but these errors were encountered:
updoo
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Apr 22, 2024
Also, how are you measuring memory consumption? The peak RSS of the zig build run command won't include the memory usage of your application, because it's a subprocess.
In general, the "Steps to Reproduce" section should include exact steps, i.e. the precise commands / applications that were run and the relevant output to observe.
Zig Version
0.12.0
Steps to Reproduce and Observed Behavior
example from github.com:zigzap/zap
run on mac m1
Expected Behavior
Memory usage should be consistent
The text was updated successfully, but these errors were encountered: