jmeaster30 / ocean

A C-like programming language (get it like sea-like like an ocean lol)
GNU General Public License v3.0
0 stars 0 forks source link

Running callgraph in the debug console on long running execution times consumes massive amounts of memory #98

Open jmeaster30 opened 8 months ago

jmeaster30 commented 8 months ago

https://github.com/jmeaster30/ocean/blob/main/examples/hydro/projecteuler/problem4.h2o

Running problem 4 entirely and generating a callgraph consumed all the memory on my computer (32GB of ram was running firefox and intellij but still I should have had loads of memory leftover)

jmeaster30 commented 8 months ago

Need to devise a way to push metrics and various other things to files. A lot of the analysis ideas I have would also have this issue I am sure.