[Qt-interest] Too many files open error on Mac OS

Serge mb0 at km.ru
Wed Sep 29 09:33:19 CEST 2010


Storing them in QImage will make the system dead because of not enough 
RAM for it. Some images are 10000x10000 pixels in size. So each file 
stores pyramid of tiles with different zoom levels. And each time, when 
i render, i read only needed tiles from needed level.

29.09.2010 11:28, Scott Aron Bloom пишет:
> Cant you store them inside a QImage??
>
> It just seems to me, running your app will make the system virtually dead since you will be taking up all the available file handles...
>
>
>
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Serge
> Sent: Wednesday, September 29, 2010 12:23 AM
> To: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] Too many files open error on Mac OS
>
> It is images, rendered inside SVG scene.
> All of them are needed when scene is rendered.
> It happens periodically (user can zoom in/out, scroll over scene), so i
> keep them all opened.
>
> 29.09.2010 11:18, Thiago Macieira пишет:
>> On Wednesday 29. September 2010 09.13.45 Serge wrote:
>>> I'm sure there is no leak.
>>> I work with set of images.
>>> There are 300 files.
>>
>> Do you need to open them all at the same time? Can't you open them in
>> sequence, or keep open only the most recently or actively used ones?
>>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list