09-18-2023, 11:04 PM
I can't open nearly that many 1x1 images either. Here's code I was playing with. When I increase the image size it crashes quicker too, so there is a memory limit I'm reaching. So It may be just the regular running out of memory issue. But why that limit is different for different runs I dunno, maybe an OS memory management thing? I'm just throwing out guesses....
- Dav
- Dav
Code: (Select All)
Screen _NewImage(800, 600, 32)
Dim img&(500000)
For t& = 1 To 500000
Print t&
img&(t&) = _NewImage(1, 1, 32) 'increase pix size, it crashes quicker.
Next