debugging - Set a fixed size of memory of a debugger session -


is possible start debug session in winforms project in visual studio , set fixed size of memory process can have?

let's example have 16gb of memory in machine, want test program outofmemory exceptions... , can't load data 16gb full. want set debug session programm can use 2gb , throws outofmemory exceptions.

is possible?

or need virtualmachine can set it?


Comments