Qt-interest Archive, July 2007
QTextBrowser load 200M plain text file use 8G
Message 1 in thread
Hi,
My QT version is 3.3.1
I use QTextBrowser to load 200M bytes plain text file, but it consumes about
8G memory.
Does anyone have idea about solving this memory problem?
-Sentry
--
[ signature omitted ]
Message 2 in thread
I currently meet the same problem as you.
I suppose that is because each line of text is rendered and become a
graphical element that is then saved in memory
"sentry shieh" <sschyi@xxxxxxxxx> wrote in message
news:5e122c460707261954h140431d2xe5a9fc661f859c0a@xxxxxxxxxxxxxxxxx
> Hi,
>
> My QT version is 3.3.1
> I use QTextBrowser to load 200M bytes plain text file, but it consumes
> about
> 8G memory.
>
> Does anyone have idea about solving this memory problem?
>
> -Sentry
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
--
[ signature omitted ]
Message 3 in thread
Hi,
Do you have any idea how to solve this?
Or which free source I can reference for solving the problem.
Thanks,
Sentry
On 7/28/07, Geofrey van Hecke <gvanhecke@xxxxxxxxxx> wrote:
> I currently meet the same problem as you.
>
> I suppose that is because each line of text is rendered and become a
> graphical element that is then saved in memory
>
> "sentry shieh" <sschyi@xxxxxxxxx> wrote in message
> news:5e122c460707261954h140431d2xe5a9fc661f859c0a@xxxxxxxxxxxxxxxxx
> > Hi,
> >
> > My QT version is 3.3.1
> > I use QTextBrowser to load 200M bytes plain text file, but it consumes
> > about
> > 8G memory.
> >
> > Does anyone have idea about solving this memory problem?
> >
> > -Sentry
> >
> > --
> > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> > "unsubscribe" in the subject or the body.
> > List archive and information: http://lists.trolltech.com/qt-interest/
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
--
[ signature omitted ]
Message 4 in thread
May be you should have a lot to this part of the documentation:
http://doc.trolltech.com/4.3/richtext-advanced-processing.html
"sentry shieh" <sschyi@xxxxxxxxx> wrote in message
news:5e122c460707271909r2fffbed3hd2e9bf7d0d507078@xxxxxxxxxxxxxxxxx
> Hi,
>
> Do you have any idea how to solve this?
> Or which free source I can reference for solving the problem.
>
> Thanks,
> Sentry
>
> On 7/28/07, Geofrey van Hecke <gvanhecke@xxxxxxxxxx> wrote:
>> I currently meet the same problem as you.
>>
>> I suppose that is because each line of text is rendered and become a
>> graphical element that is then saved in memory
>>
>> "sentry shieh" <sschyi@xxxxxxxxx> wrote in message
>> news:5e122c460707261954h140431d2xe5a9fc661f859c0a@xxxxxxxxxxxxxxxxx
>> > Hi,
>> >
>> > My QT version is 3.3.1
>> > I use QTextBrowser to load 200M bytes plain text file, but it consumes
>> > about
>> > 8G memory.
>> >
>> > Does anyone have idea about solving this memory problem?
>> >
>> > -Sentry
>> >
>> > --
>> > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
>> > "unsubscribe" in the subject or the body.
>> > List archive and information: http://lists.trolltech.com/qt-interest/
>>
>>
>> --
>> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
>> "unsubscribe" in the subject or the body.
>> List archive and information: http://lists.trolltech.com/qt-interest/
>>
>>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
--
[ signature omitted ]