Qt-interest Archive, June 2007
swapfile size with XP
Message 1 in thread
Hi to all,
I've been testing my Qt-app on many Linux- and OS X boxes. Recently I started running in on XP and here I noticed that it takes extremely much swap space - at least 300 MB and sometimes up to 1 GB which why I'm experiencing serious performance problems under XP. On Linux and OS X all is fine.
Does anyone know why this could be the case and how to possibly solve it ?
Thanks in advance
-- A l e x
--
[ signature omitted ]
Message 2 in thread
On 27.06.07 00:03:59, "Alexander Carôt" wrote:
> Hi to all,
>
> I've been testing my Qt-app on many Linux- and OS X boxes. Recently I started running in on XP and here I noticed that it takes extremely much swap space - at least 300 MB and sometimes up to 1 GB which why I'm experiencing serious performance problems under XP. On Linux and OS X all is fine.
>
> Does anyone know why this could be the case and how to possibly solve it ?
Well, maybe your application leaks memory under some circuumstances. You
can only find out by getting a memory profiler and checking your
application. On Linux valgrind is pretty widely known, not sure wether
its available on windows as well.
Andreas
--
[ signature omitted ]
Message 3 in thread
Andreas Pakulat wrote:
> On 27.06.07 00:03:59, "Alexander Carôt" wrote:
>> Hi to all,
>>
>> I've been testing my Qt-app on many Linux- and OS X boxes. Recently I started running in on XP and here I noticed that it takes extremely much swap space - at least 300 MB and sometimes up to 1 GB which why I'm experiencing serious performance problems under XP. On Linux and OS X all is fine.
>>
>> Does anyone know why this could be the case and how to possibly solve it ?
>
> Well, maybe your application leaks memory under some circuumstances. You
> can only find out by getting a memory profiler and checking your
> application. On Linux valgrind is pretty widely known, not sure wether
> its available on windows as well.
It's not, but other memory profiling / verification tools do exist for
Windows. Google can help. They're usually not cheap.
VC++ has a primitive leak detector.
http://msdn2.microsoft.com/en-us/library/e5ewb1h3(VS.80).aspx
--
[ signature omitted ]