Discussion:
Memory usage more than doubles on Window 7 vs XP
(too old to reply)
Dave T
2010-06-12 16:52:06 UTC
Permalink
Raw Message
I have a large application that I run on Windoes XP and Windows 7. THe
application on WIndows XP uses 300M while the application on Windows 7 takes
more than 600M. I observed this behavior with several applicationes including
a small test application. I have not been able to pinpoint the cause.
--
Dave
Seetharam
2010-06-14 17:21:14 UTC
Permalink
Raw Message
Open up process explorer and compare the sizes of the modules loaded.
Most likely on XP and Win7, there are different versions of Dlls ( so
different sizes ) loaded.

-Seetharam
Dave T
2010-06-15 16:42:23 UTC
Permalink
Raw Message
I am able to see the issue in three applications. In my largest application,
it uses 300M more on Windows 7 VS XP.
--
Dave
Post by Seetharam
Open up process explorer and compare the sizes of the modules loaded.
Most likely on XP and Win7, there are different versions of Dlls ( so
different sizes ) loaded.
-Seetharam
.
Timo Kunze
2010-06-14 17:50:10 UTC
Permalink
Raw Message
Could it be a 32 bit vs. 64 bit issue? 64 bit needs more memory, because
the size of pointers and handles has doubled. Even if your app is 32 bit
code, the pointers and handles managed by Windows will be 64 bit wide.

Timo
--
www.TimoSoft-Software.de - Unicode controls for VB6
"Those who sacrifice freedom for safety deserve neither."
"Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der
Überzeugung, dass die demokratischen Kräfte überwiegen und sich – auf
demokratischem Wege – durchsetzen."
Dave T
2010-06-15 16:42:22 UTC
Permalink
Raw Message
No, It is not a 64-bit issue. I am running on 32 bit XP and 32-Bit 7. I have
a small test application that demonstrates the problem.
--
Dave
Post by Timo Kunze
Could it be a 32 bit vs. 64 bit issue? 64 bit needs more memory, because
the size of pointers and handles has doubled. Even if your app is 32 bit
code, the pointers and handles managed by Windows will be 64 bit wide.
Timo
--
www.TimoSoft-Software.de - Unicode controls for VB6
"Those who sacrifice freedom for safety deserve neither."
"Demokratie ist per Definition unsicher. Ihr Schutz entsteht aus der
Überzeugung, dass die demokratischen Kräfte überwiegen und sich – auf
demokratischem Wege – durchsetzen."
.
Loading...