he, you are trying to open a tree with 1000 columns and 10000 rows. that will never work, not like that.
Esteban On 26 Jun 2014, at 09:45, Hernán Morales Durand <[email protected]> wrote: > Yes, sorry I forgot that. Pharo 3.0 clean image Latest update: #30850, on > Windows 8 > The VM is the one downloaded when you do > > $ wget -O- get.pharo.org/30+vm | bash > > Then you open and press F2, Display version information, CogVM 4.0.0 from May > 15 2014. > > Script to reproduce it: > > Smalltalk garbageCollect. > [ | matrix rows cols tree | > rows := 10000. > cols := 1000. > matrix := Matrix rows: rows columns: cols. > 1 to: rows do: [ : r | > 1 to: cols do: [ : c | > matrix at: r at: c put: SmallInteger maxVal atRandom ] ]. > > tree := TreeModel new. > tree columns: ( > (1 to: cols) collect: [ : col | > TreeColumnModel new > displayBlock: [ : node | (node content at: col) asString ]; > headerLabel: col asString ]). > tree roots: ((1 to: rows) collect: [ : nrow | matrix atRow: nrow ]). > tree openWithSpec ] timeToRun > > Hernán > > > > 2014-06-26 2:48 GMT-03:00 stepharo <[email protected]>: > Hi hernan > > Which image? > What did you loaded? > Can you reproduce it? > > Can someone explain what does it mean or why it happens? > Is that a common scenario for you? > > I am measuring execution time for big matrices in CogVM 4.0.0. Image is > unresponsive. > > Cheers, > > Hernán > > > >
