When initializing platform, just the single call:
error = clGetPlatformIDs(1, &platform_id, nullptr);
causes a VmPeak for my process of 209 MB!
Of course, the running memory is not high, but the initial peak is causing application to get killed by oom_reaper on startup.
Is this a known issue? Is this something that is to be expected?