Hi,
Thanks. The memory is now being set to what I want.
However, the real problem is with the FlashFileStream attempting to create a very very large ByteArray so even "-memory 100m" does not help.
I get a "Space is Low" dialog box when opening a file with "Open As Flash" in the file list. The error occurs in primitive 71. in the message "new:" sent to the class "ByteArray" with a parameter of, get this, "2,197,815,309". I guess this is asking too much even when I set the memory very very large! I only have 1 GB of swap space allocated! Obviously the bug is else where in the flash code.
The error seems to be occuring in FlashFileStream>>nextTag on the second last line of the method. The temp variable "word" is equal to 831. 831 bitAnd: 16r3F evaluates to 63. This triggers the true block condition which sets length to "2, 197, 815,309". So the nextULong method is returning a bogus length.
The same "flash" files open and play on my Intel Laptop but not my Intel Linux box. Could FTP have modified the bytes in the flash files?
Peter
---------- From: Raab, Andreas Andreas.Raab@disney.com To: squeak@cs.uiuc.edu; 'peter@smalltalk.org' Subject: RE: Linux Squeak doesn't respond to command line options Date: May 24, 1999 3:07 PM
The linux command line option is
-memory 30m
(without the colon and with the 'm' for megabytes) Andreas -- +===== Andreas Raab ========= (andreasr@wdi.disney.com) ==+ | Walt Disney Imagineering Phone: +1 818 544 5016 I I Glendale, CA Fax: +1 818 544 4544 I +======< http://isgwww.cs.uni-magdeburg.de/~raab >========+
From: Peter William Lount Reply To: peter@smalltalk.org Sent: Monday, May 24, 1999 2:50 PM To: squeak@cs.uiuc.edu Cc: recipient list not shown Subject: Linux Squeak doesn't respond to command line options
Hi,
I was trying to adjust the memory setting on the Squeak Linux port and it doesn't seem to respond to the "-memory: 30" command line option.
Does anyone have any suggestions?
Peter William Lount peter@smalltalk.org http://www.smalltalk.org
squeak-dev@lists.squeakfoundation.org