Out of memory in !Paint
Andrew Rawnsley (492) 1445 posts |
I just had an “out of memory” error in !Paint despite having bags of free RAM. I was working on the Sprites22 file of the Sovereign theme (ie. hundreds of icon sprites). I added one icon, then did a “sort by name” OK. I added a second icon, then “sort by name” and I got the out of memory error. Saving the file (to RAM disc in this case), then sorting, fixed it. Edit – I’ve also had several abort crashes doing “sort by name”, too, subsequently. |
Rick Murray (539) 13850 posts |
castle.RiscOS.Sources.Desktop.Wimp.Resources.UK.Sovereign.DiscSprites.Sprites22? Yup, I can confirm. Loading into !Paint, !Paint consumes 2360K. Hmmm… |
Jeffrey Lee (213) 6048 posts |
I can’t seem to immediately reproduce the problem, but it does look like there’s an uninitialised variable somewhere – sometimes (usually on a fresh load of !Paint) selecting to sort by name results in a random sort order instead. |
Jeffrey Lee (213) 6048 posts |
This should be fixed with !Paint 2.20 – it looks like it was a gotcha related to flex and variable-length C arrays |