19:37 haasn: size = 33699276800 (0x7d8a22800) (31.38 GiB)
19:37 haasn: where is this 32 GB limit coming from?
19:37 haasn: I have 64 GB RAM, is not all of it GPU-visible or something?
19:39 agd5f: haasn, are you talking about GTT? GTT is limited to half of system memory
19:39 haasn: ah possibly
19:39 haasn: I'm just looking at the size of the vulkan host memory heap
19:39 haasn: I have 64G system RAM so that being half fits
19:40 agd5f: because the OOM killer doesn't know who to associate the memory to because it's allocated in the kernel
19:40 agd5f: so we limit it to half
19:43 haasn: makes sense, and probably reasonable
19:44 haasn: maybe limiting it to MAX(RAM/2, RAM - X GB) might make sense
19:44 haasn: for some value of X
19:47 Remco: It's currently this: https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c#L1816-L1826
19:48 Remco: The git history on that part might be informative