RE: all
"David Griswold" <[email protected]> Wed, 24 Oct 2007 17:14:12 -0700
| Newsgroups | gmane.comp.lang.smalltalk.strongtalk |
|---|---|
| Message-ID | <[email protected]> |
Hi, Your problem is very simple. You are running out of memory, causing it to crash. The full GC doesn't run automatically right now (scavenging does, but not full garbage collection). You have to invoke full GC specifically if you want it (VM collectGarbage). But the bigger problem is that you are running a benchmark that is spending all of its time in the large integer primitives, not in Smalltalk, so it won't tell you anything meaningful. Factorial is just about the worst benchmark ever written. It may be cool to show people that don't know Smalltalk, but it is useless. -Dave > -----Original Message----- > From: [email protected] > [mailto:[email protected]]On Behalf Of Kender Olly > Sent: Wednesday, October 24, 2007 11:57 AM > To: Strongtalk-general > Subject: all > > > > Hi all. > > I download latest version (strongtalk 2.0) and start it on Windows XP. > And i execute this example: > " |t tmp fact| > t:=Time now. > 1 to:1000 do:[:j| > fact:=1. > 1 to:1000 do:[:i|fact:=fact*i]. > ]. > tmp:=Time now. > t asSeconds - tmp asSeconds. > " > on it. As you see I want testing VM. But I see: "A Runtime Error > Fatal: os::commit_memory failed". > > What are you may recommendation for me with this trouble? (any > parameters of command line) > > P.S. Please excuse my English. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Strongtalk-general" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/strongtalk-general?hl=en -~----------~----~----~----~------~----~------~--~---