views_get_view is returning some outdated version of the view When I created some_view, its Items Per Page was limited to 10. Naturally, views_get_view('some_view') was resulting in 10 nodes. 

I have since changed some_view's Items Per Page to unlimited, and cleared all caches. However, views_get_view('some_view') still results in just 10 nodes. 

The preview of some_view shows more than 10 nodes, so the view works as expected. It has only the Default display mode. 

Although clearing all caches should have cleared any view caches (right?), I also tried views_get_view('some_view', TRUE), which is supposed to ignore the cache. To no avail. 

So, where could the view returned by views_get_view be coming from?
views_get_view('some_view') doesn't actually execute the View, it just retrieves the specification for the View.

How are you executing the view?

From the comment on your question, I see that you're doing:

$view = views_get_view('some_view');
$view-&gt;execute();
print_r($view);


On this thread, merlinofchaos (the primary author of Views) recommends the following sequence:

$view = views_get_view('some_view');
$view-&gt;init_display();
$view-&gt;pre_execute();
$view-&gt;execute();
print_r($view);


which is roughly equivalent to this:

$view = views_get_view('some_view');
$view-&gt;preview();
print_r($view);


...except that the later also renders the view as HTML, which, if you're not going to use that rendered HTML, is wasteful.