<FromGitter>
<jackturnbull> Hi guys, thought I'd try over here instead of creating a forum post for this one... ⏎ ⏎ I've been benchmarking one of my more heavy controller methods and I'm over the moon with performance, but I'm not clear on what I should be expecting memory usage wise - or what's considered normal. `wrk` managed to run 105k POST request writing into Postgres over the space of 5 minutes but my memory usage went
<FromGitter>
... from a few meg to 300+ and now it has been sat there since.
<FromGitter>
<jackturnbull> It is the case that I need to wait for a GC collection or something like that for the memory usage to fall again? Bit new to this sort of stuff
<FromGitter>
<jackturnbull> Concerned that it could be memory leak territory
<FromGitter>
<faustinoaq> Hi @/all Crystal community! Thank you for all you support to keep Crystal awesome 😄 ⏎ ⏎ I apologize again for not being active on github, I've been busy with my new job 😅 ⏎ ⏎ I have some updates: ... [https://gitter.im/crystal-lang/crystal?at=5ca8ccda31aec969e860af8e]
Jenz has quit [Ping timeout: 250 seconds]
<FromGitter>
<faustinoaq> Is interesting to see https://shards.rocks/ working on Kemal 0.7.0 and crystal 0.10.2 💪 @sdogruyol 👍
<FromGitter>
<Blacksmoke16> @jackturnbull I remember reading something about this but let me see if i can find it
BaldEagleX02 has left #crystal-lang ["Textual IRC Client: www.textualapp.com"]
<FromGitter>
<jackturnbull> @Blacksmoke16 I've found this github issue but I'm just trying to digest it: https://github.com/crystal-lang/crystal/issues/3997 the more pressing question is whether my allocated heap memory is *actually* being used or whether it's just allocated because I have free memory available on my system
<FromGitter>
<jackturnbull> Oh sorry missed you'd posted it! Yeah reading it now :)
<FromGitter>
<Blacksmoke16> 👍
<FromGitter>
<malkomalko> Thank you all on the helpful tidbits for the memoize stuff. I had no idea getter took an optional block to memoize, that's amazing! A general question on the first option. All macros are compile time right? So for anything happening at runtime, something like https://play.crystal-lang.org/#/r/6o0t wouldn't work? I was just reading over the macros docs.
<FromGitter>
<Blacksmoke16> that is happening at runtime
<FromGitter>
<Blacksmoke16> just the array of ivars for `@type` is at compile time