pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: MemopMemmmmo


From: Harry Thijssen
Subject: Re: Re: MemopMemmmmo
Date: Tue, 20 Mar 2012 17:39:30 +0100

> Consdier the following syntax:
>
> input program.
>  loop #i = 1 to 250000.
>   compute A = #i.
>   compute B = mod(#i, 2).
>   end case.
>  end loop.
>  end file.
> end input program.
>
> compute v = rv.uniform (0,1).
>
> EXAMINE
>        v BY  B
>        /statistics = descriptives
>        .
>
>
> This is a perfectly reasonable (albeit uninteresting) use of examine.    
> However, if the user
> inadvertently types   "v BY  A" instead of "v BY B", then we will dutifully 
> try to allocate,
> 64MB * 250000 on the heap.
>
> J'

Just for info. I checked this to see what error is displayed on
MSWindows. In fact none! The program goes in an infinite loop with
disk I/O but no error is displayed.

Have fun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]