[squeak-dev] issue allocating more memory for the image

Chris Muller asqueaker at gmail.com
Thu May 22 18:54:18 UTC 2014


I try with the -memory parameter instead of -mmap, then Cog crashes
immediately with -memory 2200m when launching the stock 4.5 image..

On Thu, May 22, 2014 at 1:44 PM, Chris Muller <asqueaker at gmail.com> wrote:
> On Thu, May 22, 2014 at 1:00 PM, David T. Lewis <lewis at mail.msen.com> wrote:
>> Usually on a unix system, a "No such file or directory" error means
>> exactly what it says. A file named "/dev/dsp" is a device file in the /dev
>> pseudo-file system, which presumably is not present. Various flavors of
>> Linux or Unix might have different sound systems active, and might have
>> different naming conventions for device files.
>>
>> I can't think of any reason why this should have an interaction with
>> object memory allocation. If it seems to be VM related, try running with
>> an interpreter VM or a different version of Cog and see if the symptoms
>> change.
>
> It's because there's a System beep somewhere in there and I was just
> interjecting the question-- why the heck do we have System beep(s)
> embedded in the system?
>
> But let's please not focus on that right now.  I really want to ask
> the more important question whether there's a problem with Cog.
>
> None of the symptoms happen with the Interpreter VM (2357).
>
> You can easily reproduce it yourself with Cog.  Just start the base
> Squeak4.5 image with the -mmap 2000m argument.
>
> Then, in a workspace:
>
>    self halt.
>
> Do It, then press Proceed on the debugger that appears.
>
> Does the problem occur for you too?  It's related to amount reclaimed
> by the garbage-collector, but clearly we're not out of memory....


More information about the Squeak-dev mailing list