Better HN
topnewbestaskshowjobs
Log inSign up

dusanz

10 karma · joined Apr 2, 2021 (5y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

Until someone searches for "Error: OutOfMemoryException"

comment 5y ago · link · parent

size_t is only guaranteed to be large enough to store the size of the largest object. This is not the same as being able to index all of memory. You could imagine a platform with restricted continuous allocation size where the maximum object size is smaller than the size of the address space.