pspp-dev
[Top][All Lists]
Advanced

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

Re: Re: MemopMemmmmo


From: John Darrington
Subject: Re: Re: MemopMemmmmo
Date: Tue, 20 Mar 2012 17:25:56 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

With the fix, or without it?



On Tue, Mar 20, 2012 at 05:39:30PM +0100, Harry Thijssen wrote:
     > 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
     
     _______________________________________________
     pspp-dev mailing list
     address@hidden
     https://lists.gnu.org/mailman/listinfo/pspp-dev

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

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