toddsundsted / ktistec

Single user ActivityPub (https://www.w3.org/TR/activitypub/) server.
GNU Affero General Public License v3.0
360 stars 20 forks source link

Minimum RAM requirements? #68

Closed N1ck75 closed 1 year ago

N1ck75 commented 1 year ago

I'm getting OOM killer on build

"Out of memory: Killed process 860 (crystal) total-vm:3880680kB"

My VPS is running 4GB

toddsundsted commented 1 year ago

i'm late to this issue, but fwiw i just committed code that knocks the compile time and process size down quite a bit for me. i'll be doing more optimization over the next couples weeks, but i'd be happy to know if this works for you now.

sdogruyol commented 1 year ago

Curious to see the result of @toddsundsted's changes. Are you doing a release build @N1ck75?

@toddsundsted I'm also thinking of checking block vs proc thing for Kemal itself 👍 Thanks a lot for using Kemal 🙏

toddsundsted commented 1 year ago

I'm also thinking of checking block vs proc thing for Kemal itself 👍 Thanks a lot for using Kemal 🙏

a warning of some kind, once the inlined code is over some size threshold, would be ideal imo!