GPU Lightmass runs out of memory while in commandlet

Hi all,

I’m working on getting GPU Lightmass running in a commandlet but some of our maps are causing it to run out of memory and crash. These same maps run fine and build while in Editor .

During commandlet startup we create a GUnrealEd instance and check that it, the GEditor, and GEngine are all valid. My current thought is that the editor is setting something up that commandlet doesn’t to manage memory better, but I’m not sure what that is.

Anyone have ideas on where to look or what could cause this different behavior between commandlet and Editor?