wings@lemmy.rimfaxe.net to Lemmy Shitpost@lemmy.world · 18 hours agoPray for him in these trying timeslemmy.rimfaxe.netimagemessage-square19linkfedilinkarrow-up1687arrow-down11
arrow-up1686arrow-down1imagePray for him in these trying timeslemmy.rimfaxe.netwings@lemmy.rimfaxe.net to Lemmy Shitpost@lemmy.world · 18 hours agomessage-square19linkfedilink
minus-squareVigorouSchematic@fedinsfw.applinkfedilinkEnglisharrow-up5·15 hours agomalloc(18,446,744,073,709,551,615) ULLONG_MAX from limits.h - so on a 64bit machine size_t = unsigned long long = uint64
minus-squareT. Hex@lemmy.dbzer0.comlinkfedilinkarrow-up1·12 hours agoHow about the equivalent malloc(-1)? Also, it’s cheap to allocate memory if you never write to it. You should follow it up with memset() if you really wanna max out your Resident Set Size 🐏
malloc(18,446,744,073,709,551,615)
ULLONG_MAXfromlimits.h- so on a 64bit machinesize_t = unsigned long long = uint64How about the equivalent
malloc(-1)?Also, it’s cheap to allocate memory if you never write to it. You should follow it up with memset() if you really wanna max out your Resident Set Size 🐏