I tried different themes, with the same results. However, if I close the Properties and HTML pane, I can add one more grid. That makes 7 opened grids max.
But I think I discovered what the problem is... The problem seems related to GDI objects. Here, IQ uses an unusually high number GDI objects (7 opened grids and I'm over 10.000) and saturates XPs default capabilities...
I really wonder how you can open 15 grids... Are they completely empty ? I thought 10 000 GDI objects was the default, even in Windows 7 (according to wikipedia). Unless your IQ consumes less GDI objects for some reasons.
I'm in a 32 bits resolution, Windows Classic Style...
I could try increasing the upper limit for GDI objects, but...
Could you guys check how many GDI objects is IQ using ?
Task manager : view -> Select columns --> GDI Objects. Then look at the InfoQube process, in the process tab.[/snip][/quote]
Armando, et al
I opened 15 grids
I am using portable v924g with / on HP Blackbird Vista Ultimate SP-2
I opened Windows Task Manager, looked under View tab but couldn't find any way to select columns so I can't be of much help here. If you can tell me what I'm doing wrong i'll be happy to go back & get GDI Object # for you. Sorry
OK, rejoice everybody -- well, if you don't, I will !
I discovered what the problem is.
Too many icons in the \icons file.
I recently imported icons there to try different designs, and since IQ loads all icons at once for each grids, it resulted with a huge amount of GDI objects used. Now, with 12 opened grids, I have less than 5000 GDI objects. A lot, but quite acceptable I guess for such a complex app !
I'll add a warning in the icon part of the manual...
Yes..., that reminds me that I should load icons on demand, not load all icons when I open a grid. Requires a bit more code, but will be more efficient
Thanks Jan. That's even lower than me ! I wonder why... In any case, if you've read my previous post : problem solved ! It took a while but I'm happy to have this sorted out. I can move on...
Thanks Jan. That's even lower than me ! I wonder why... In any case, if you've read my previous post : problem solved ! It took a while but I'm happy to have this sorted out. I can move on...
[/quote]
3,800 is still a lot of GDI, especially under XP which caps at 10000 by default. I started a thread on GDI usage in general at - GDI usage [FIXED 0.9.25W4?].
Comments
But I think I discovered what the problem is... The problem seems related to GDI objects. Here, IQ uses an unusually high number GDI objects (7 opened grids and I'm over 10.000) and saturates XPs default capabilities...