Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



windows magnify and dwm memory issue/problem

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 17-05-2011
Member
 
Join Date: May 2011
Posts: 5
l33t windows magnify and dwm memory issue/problem
  

OS: Windows 7
Bug Report (?)
Use Case: Running Magnifier in color invert mode at 1X
Problem: DWM (Desktop window manager) runs out of memory

Description:

So I recently noticed that I can run magnifier at 1X and invert the colors on the screen. This is wonderful for reading at night or in a dark room and is now my preferred method of operation.

However:

Every hour, or so, when I'm using it, the DWM crashes--it runs out of memory. When I don't have magnifier running, I can monitor the dwm process with taskman and the memory usage looks normal. When I have the magnifier running with color invert mode, however, the memory usage steadily increases under normal operation until it runs out of memory.

At this point, my fix is to run the following which kills the dwm process:
taskkill /f /im dwm*
It restarts, and the magnifier reopens and restores its previous settings. If it weren't for the 10 second delay that freezes the computer after dwm crashes, I'd be okay with

This definitely seems like a bug with Windows 7.

Is there anyone able to reproduce the issue?

Thanks.

EDIT:
To quickly reproduce the problem:
WinKey + R
type "magnify" <enter>
WinKey + (minus)
Ctrl + Alt + F
Ctrl + Alt + I

Ctrl + Shift + Esc
note the memory usage as you change windows


Last edited by forrestoff : 17-05-2011 at 10:15 PM.
Reply With Quote
  #2  
Old 18-05-2011
Member
 
Join Date: Mar 2010
Posts: 306
Re: windows magnify and dwm memory issue/problem

That's normal. If Windows was able to zoom aerodynamic effects, would be larger and slower, do not get angry or sad, that's normal. Even when going to get Core i7, 4x Crossfire Radeon 5000, Windows Aero is turned off in the lens. Regedt32 is great for solving problems. But it's hard to remember her advice to search the key name and then try to lose all their values every time you have a problem which is risky because it could cause a lot of new problems wrong.
Reply With Quote
  #3  
Old 18-05-2011
Member
 
Join Date: May 2011
Posts: 5
Re: windows magnify and dwm memory issue/problem

Sorry, I've lost a lot of what you're saying in translation.

Basically, I've verified this on two of my computers, but they were of the same type, so I wanted to make sure that someone else had experienced this problem on a different machine.

You make a reference to regedit, but I can't exactly tell what you're saying. I doubt that there is a configurable area to prevent the caching and background processing while the magnifier is in use.

I posted to a forum because I couldn't find a similar thread with google, which makes me think that it's a configuration issue with my machine. Well, here it is, people-that-have-the-same-problem.
Reply With Quote
  #4  
Old 18-05-2011
Member
 
Join Date: Feb 2011
Posts: 142
Re: windows magnify and dwm memory issue/problem

My dear friend forrestoff can I know what you are trying to convey here if your are facing any specific problem then please specify the same in detail. I hope that I can provide you the appropriate solution based on the problem that you are facing because from your earlier post I am not getting anything.
Reply With Quote
  #5  
Old 18-05-2011
Member
 
Join Date: May 2011
Posts: 5
Re: windows magnify and dwm memory issue/problem

My beloved Pierson, with much bewilderment, I am sorry to say that there is not enough of both time and space to convey my complication to thee. Such prose required herein to sufficiently and succinctly contain and transfer the concept of my misfortune may only be constructed by the Gods. Perhaps it is my ineptitude that leaves much desired; perhaps the gods favor not the writer but rather the cause; perhaps my undergarments are soiled too heavily with the fruits of my labor. For I am but a fledgling in this world of grief and sorrow.

Please, my dear Pierson, I petition emphatically and fervently for your guidance and support in these times.
Reply With Quote
  #6  
Old 18-05-2011
Member
 
Join Date: Dec 2007
Posts: 2,273
Re: windows magnify and dwm memory issue/problem

Have you tried to temporarily restart DWM by using the below command:

net stop uxsms
net start uxsms


Or you could also try to modify regedit
HKEY_CURRENT_USER/Software/Microsoft/ScreenMagnifier: data (MagnificationMode) = 2
[1: Docked; 2: Full Screen]
Reply With Quote
  #7  
Old 19-05-2011
Member
 
Join Date: May 2011
Posts: 5
Re: windows magnify and dwm memory issue/problem

Thanks for the control hook, einstein_007. I've created a script that I'm running in the background to restart the process before it runs out of memeory. It polls tasklist every 30s and parses the size of the dwm.exe process, waiting for it to reach 1GB. At that point, it issues a net start and stop on the uxsms service.

MS really needs to fix this on their end.

(for those unfamiliar with windows scripting, save the below in a file with a .bat extension, then run it. You'll need tasklist and sleep installed, which should be windows 7 native applications.)

Code:
@echo off
rem script by forrestoff 5/18/2011
:start
for /f "tokens=5,6,7,8* delims=K, " %%i in ('tasklist^|find "dwm.exe"') do (
    if not exist %%k (
            echo %%i,%%j K
            goto eof
    ) else (
        set /p h=%%i,%%j,%%k K <nul
        echo -- %time% --- OVER 1GB for the Process, starting it over.
        net stop uxsms
        net start uxsms
        goto eof
    )
    )
:eof
sleep 30
goto start
Reply With Quote
  #8  
Old 19-05-2011
Member
 
Join Date: May 2011
Posts: 5
Re: windows magnify and dwm memory issue/problem

Sorry, there's a bug in my code.

This should work:

Code:
@echo off
rem script by forrestoff 5/18/2011
:start
for /f "tokens=5,6,7,8* delims=K, " %%i in ('tasklist^|find "dwm.exe"') do (
    if "%%k"=="" (
            echo %%i,%%j K
    ) else (
        set /p h=%%i,%%j,%%k K <nul
        echo -- %time% --- OVER 1GB for the Process, starting it over.
           net stop uxsms
           net start uxsms
    )
    )
sleep 30
goto start
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "windows magnify and dwm memory issue/problem"
Thread Thread Starter Forum Replies Last Post
Need help to magnify text size of TOSHIBA THRIVE Tablet Lisa Boney Portable Devices 3 23-08-2011 10:21 AM
DP35DP: memory issue; DVD issue; Lan issue. Rivan Motherboard Processor & RAM 5 29-06-2010 12:50 AM
DDR3 memory issue on Windows 7 abbase Motherboard Processor & RAM 5 18-12-2009 11:31 AM
Issue of the Virtual Memory in Windows 7 reetus Operating Systems 3 03-12-2009 08:44 AM
DX48BT2 Memory issue on Windows 7 Krish07 Motherboard Processor & RAM 3 08-10-2009 10:49 AM


All times are GMT +5.5. The time now is 07:11 PM.