Login
You're viewing the suncoast.dev public feed.
  • Sep 24, 2026, 10:39 AM

    the more i worry about gc, the more i am thinking i should just restrict the maximum managed heap size.

    the managed heap won't include allocations larger than some as yet undetermined threshold anyway, that'll just be delegated to malloc (and we'll free it when nothing refers to it any more). so i think you're really looking at in-process caches being what's limited here.

    💬 1🔄 0⭐ 0

Replies

  • Sep 24, 2026, 10:51 AM

    one particularly sweet point in the design space is used by java depending on how you configure it - you can have up to 32gb heaps with 32-bit pointers, because pointers are always aligned to 8 bytes so there are 3 bits to steal (or 8x the address space)

    💬 0🔄 0⭐ 0
  • Sep 24, 2026, 10:59 AM

    @dysfun if this maximum size is tunable by argument or env var people probs won't care

    💬 0🔄 0⭐ 0