Re: [Gambas-user] array size limitations relative to available RAM and swap space

2010-01-23 Thread BenoƮt Minisini
> Using GAMBAS 2.19 I tried creating an array: > > PUBLIC Elevation AS Short[65536, 65536] > > With no data assigned to any of the array's elements, reading > Elevation[0,0] shows a value of 24. I'm thinking it should be zero. > Reading > Elevation[4095,0] crashes the program. I tried reading E

Re: [Gambas-user] array size limitations relative to available RAM and swap space

2010-01-22 Thread kevinfishburne
Doriano Blengino wrote: > > Probably there is some bug here, but anyway I would use some other mean > to achieve the goal. > ... > If you really have 65536*65536 cells, all alive together, you could use > a binary file on disk. Disk caching will speed up things, perhaps better > than fake ram

Re: [Gambas-user] array size limitations relative to available RAM and swap space

2010-01-22 Thread Doriano Blengino
kevinfishburne ha scritto: > Using GAMBAS 2.19 I tried creating an array: > > PUBLIC Elevation AS Short[65536, 65536] > > With no data assigned to any of the array's elements, reading Elevation[0,0] > shows a value of 24. I'm thinking it should be zero. Reading > Elevation[4095,0] crashes the progr

[Gambas-user] array size limitations relative to available RAM and swap space

2010-01-21 Thread kevinfishburne
Using GAMBAS 2.19 I tried creating an array: PUBLIC Elevation AS Short[65536, 65536] With no data assigned to any of the array's elements, reading Elevation[0,0] shows a value of 24. I'm thinking it should be zero. Reading Elevation[4095,0] crashes the program. I tried reading Elevation[100,100]