Coffeehouse Thread

27 posts

Scary memory error in Win8.

Back to Forum: Coffeehouse
  • User profile image
    magicalclick

    I didn't do anything special, just turn it on and turn WIn8 off. Then, a memory error comes out. I thought Metro is reliable in the sense of memory management? I guess I am wrong? Meaning we can still do unsafe apps on Metro?

    Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Last modified
  • User profile image
    AndyC

    Eh? What does getting a memory error, which might come from anywhere, have to do with Metro?

  • User profile image
    magicalclick

    it may not be metro, but, doubt the old WIn7 is at fault. Cannot really tell which process because it didn't specify the process name, or at least I didn't take time to read them. I recovered my Win7 yesterday, so, I cannot test it anymore.

     

    Anyway, I have this problem 2 times. The last time I had lots of Metro apps opened and trying to log off, and after the error, I still have few Metro apps running. That's the only clue I have.

    Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Last modified
  • User profile image
    cbae

    Microsoft really needs to rethink their decision to do away with the close button in Metro apps. In my Windows 8 virtual machine, I have up to 2GB of physical memory allocated (I know it's low, but I have two 2008R2 VMs running too). I was checking out the sample Metro apps, and I must have launched 3 or 4 of them. The memory demand shot up to about 3.5GB. Windows slowed down to a crawl, and the UI was completely unusable (I couldn't even launch Task Manager) until the running apps somehow shut down by themselves.

  • User profile image
    figuerres

    ,cbae wrote

    Microsoft really needs to rethink their decision to do away with the close button in Metro apps. In my Windows 8 virtual machine, I have up to 2GB of physical memory allocated (I know it's low, but I have two 2008R2 VMs running too). I was checking out the sample Metro apps, and I must have launched 3 or 4 of them. The memory demand shot up to about 3.5GB. Windows slowed down to a crawl, and the UI was completely unusable (I couldn't even launch Task Manager) until the running apps somehow shut down by themselves.

    yeah i think by rtm they will have to add a "close button" "charm" to the standard set for the times when you really do want the app to close.  for example if the app is not working quite right , not totally broke but just has a problem and you do not want to re-start or go to the desktop to find taskmanager. 

  • User profile image
    AndyC

    ,figuerres wrote

    *snip*

    yeah i think by rtm they will have to add a "close button" "charm" to the standard set for the times when you really do want the app to close.  for example if the app is not working quite right , not totally broke but just has a problem and you do not want to re-start or go to the desktop to find taskmanager. 

    You don't have to go to the desktop to find taskmanager, just CAD then click Task Manager, it even opens over the Metro display.

    But I have to heavily disagree with the idea of adding explicit Close functionality to Metro apps, because it misses the whole point of having system managed application lifecycles. As the user of a computer it shouldn't ever be my responsibility to manage system resources just to keep the computer happy, I paid for an operating system to do precisely that. Also, like providing synchronous API calls, it encourages application developers to be lazy; the process of saving state and documents gets left till application shutdown,rather than happening automatically.

    It may not (currently) be ideal in VM situations, especially those which allow over-commiting RAM, but that's hardly a reason to get rid of it. VM authors will fix their behaviour and users running on physical hardware will get the best experience possible.

  • User profile image
    ryanb

    They aren't mutually exclusive. Adding a close option doesn't imply taking away system management of running apps.  The apps that you are running, and want to keep running, should be managed by the system.  Apps that you don't want to run any more (or need to be closed because of a problem, etc.) should have the option of closing for real (without using task manager).

  • User profile image
    AndyC

    @ryanb:And including both syncronous and asyncronous API calls aren't mutually exclusive either, but the only way to get developers to do things properly is to take the wrong choice away from them. Having to "close" applications is just wrong and there is no need for it on a system that can manage resources properly.

  • User profile image
    evildictait​or

    What do you mean by "Memory error"? Do you mean a crash? A BSOD? If so, what error are you seeing?

  • User profile image
    contextfree`

    If the app lifecycle management for Metro style apps isn't working and is causing memory problems, that's a bug/flaw in the app lifecycle management. The solution isn't to rely on the crutch of making people manually close apps, it's to fix the bugs. I don't have to manually close apps to avoid memory issues on iOS or WP7+, which have a lot less than 2GB of RAM.

    Apps that "need to be closed because of a problem", for example, should just be shut down automatically. IIRC this is how it's supposed to work already, so if it's not, that's a bug.

  • User profile image
    nfplee

    I don't know why they don't offer a similar experience to wp7 mango when switching applications. If you hold or double tap the window key it would bring up a scrollable list of the opened applications. They could then easily put a close button in the top right hand corner.

    This solves 2 problems as currently to switch between apps you have to swipe endless amount of times to find the application you are interested in. It will also be quite a familiar experience to people using iOS.

  • User profile image
    AndyC

    ,jgd12345 wrote

    This solves 2 problems as currently to switch between apps you have to swipe endless amount of times to find the application you are interested in. It will also be quite a familiar experience to people using iOS.

    Well you don't, you can just go back to the Start screen and click the app you want to switch to.

  • User profile image
    Charles

    Provide the Need-A-Close-Button feedback on the Win8 forums! (I bet somebody already has). The Windows engineering team spends time there (not here, really).

    C

  • User profile image
    DCMonkey

    ,AndyC wrote

    *snip*

    Well you don't, you can just go back to the Start screen and click the app you want to switch to.

    Imagine if you had to go to the Start menu (and possibly into the All Programs Menu) to switch to another already open app in current versions of Windows.

    But sadly, your suggestion is the currently the only reliable method of switching between Metro apps in the Win8 dev preview because Suspended apps disappear from the Alt+Tab (or is it Win+tab) ring, resulting in infuriating bouts of "where did that g*d*mn app go, I JUST had it open!", and much shaking of fists.

    Of course, the alternative; to leave all apps in the Alt+tab ring results in an overflow of apps you used once days (or months) ago, making the feature useless for switching between current tasks. For example, my iPhone task list has 37(?!?) apps in it (viewable 4 at a time). I only ever use that list to kill off misbehaving apps for that reason (or sometimes I get OCD and kill them all).

  • User profile image
    OrigamiCar

    @AndyC:

    ,AndyC wrote

    *snip*

    Well you don't, you can just go back to the Start screen and click the app you want to switch to.

    Then why have the 'swipe from left' task switching at all?

    I agree with jgd12345 - the (dare I say it) iOS style of closing apps would be nice.

    For my own app, I've been playing with a custom gesture - place all five fingers on the screen to grab the app, move your fingers closer together as though you are screwing up a ball of paper, then throw the app to the left or right will close it. Sounds horrible in explanation, but it's quite a natural thing to do. Of course, this won't work if someone is missing a finger or thumb, so it would fail in accessability roles!

  • User profile image
    cbae

    ,Charles wrote

    Provide the Need-A-Close-Button feedback on the Win8 forums! (I bet somebody already has). The Windows engineering team spends time there (not here, really).

    C

    I would, but that would just be jumping on the dogpile. Smiley

  • User profile image
    magicalclick

    ,evildictait​or wrote

    What do you mean by "Memory error"? Do you mean a crash? A BSOD? If so, what error are you seeing?

    It is not a BSOD. It is a window pop up saying the memory is gone or something. And I was login off (first time, with lots of Metro apps) and shutting down (second time, soon after cold boot, I was just turning on to put my Win7 DVD recovery disc to be honest. I just login and shutdown.).

    Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Last modified
  • User profile image
    AndyC

    @OrigamiCar: I find the swipe-from-left a handy way of jumping back and forth between two applications. The current alt-tab behaviour needs work but it's no reason to start bringing in a close button.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.