I'm trying to run sar by specifying a specific data file:
% ls -l xac
-rw-rw-rw- 1 staff staff 4218553 Aug 4 10:56 xac
% sar -f xac
SunOS stsun1 5.5.1 Generic_103640-08 sun4u 01/14/70
16:24:50 %usr %sys %wio %idle
21:01:36 unix restarts
sar: malloc failed
Resource temporarily unavailable
Looking at a truss output of this, sar is trying to allocate 765Mb.
15961: brk(0x0002A220) = 0
15961: brk(0x2FD28220) Err#11 EAGAIN
Any ideas why sar is doing this?