views_get_view() Memory Exhuasted Im trying the following to bring up a view that only has 6 product nodes, and I get a WSOD with a Memory Exhausted warning, ive set it to 256MB, it shouldnt be flaking out on such a small request!

$view = views_get_view('products');
$view-&gt;set_display('Master');
$view-&gt;get_title();
$response = $view-&gt;preview('block');
dpm($response);


Am i doing something wrong?
Views is notoriously heavy with memory, but it does seem odd that a view that only touches 6 nodes would crap out at 256 MB. 

I see you've got a dpm call there - does removing that and turning off the devel module make a difference? And do you have xdebug enabled or any other profiling enabled by any chance? All that stuff would contribute.

The other thing you might want to double check from phpinfo() is to see if your memory limit really is set to 256MB.