I have a program that is pretty much modeled after the Answer by Alexander here:
Working example of CreateJobObject/SetInformationJobObject pinvoke in .net?
However, I want to also limit the amount of memory each child process can use, and I have absolutely no idea how to do it. I see the ProcessMemoryLimit in JOBOBJECT_EXTENDED_LIMIT_INFORMATION, but really haven't the slightest idea what data I need to put there. is it just a number in KB? Is there an object I need to build? And I can't seem to find any documentation on the matter.
Anyone have experience here?