Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Java's "keepWorkingSetOnMinimize" switch  (Read 2782 times)
0 Members and 1 Guest are viewing this topic.
Offline Bombadil

Senior Devvie





« Posted 2005-12-22 13:33:13 »

Recently on the Netbeans mailing list somebody suggested that this switch could help in preventing bad operating systems like Winblows to swap out large Java applications when their windows are being minimized. I think most Winblows users will know this bad behaviour which makes our (large) Java apps so much more sluggish than need be.

The switch is:
-Dsun.awt.keepWorkingSetOnMinimize=true

I now use it with Netbeans and it does improve things nicely. Of course if there's not enough RAM no tweak solves your missing RAM problem, but anyway the switch looks to be quite helpful.

I tried it with another Java application which I've got open all day: JEdit. It's much smaller than Netbeans but still the switch makes things better. Since I've linked the double click of many textual file types to JEdit the loading of these files is faster with the switch when for example you previously hit winblows_key + M.

I've no idea which JDK version actually invented this switch but J2SE 1.5 supports it.
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #1 - Posted 2005-12-22 17:08:45 »

TBH, the simple answer is "never minimize anything in windows unless you're absoluitely sure", and it's a lovely feature IMHO.

IME people who know realtiavely little about computers just get used to "not running a 'big' application and trying to do anythign else at once"; the rest of us of course work out its the act of minimizing that triggers the swapping, and so avoid minimizing pointlessly.

malloc will be first against the wall when the revolution comes...
Offline pepijnve

Junior Devvie




Java games rock!


« Reply #2 - Posted 2005-12-23 08:25:57 »

TBH, the simple answer is "never minimize anything in windows unless you're absoluitely sure", and it's a lovely feature IMHO.
That's the strategy I tend to follow as well. Minimizing IDEA tends to freeze my machine for at least 30 seconds. I've noticed that (at least on NT4) selecting "Minimize all windows" from the taskbar right click menu does not trigger the swapping, so that's a workable way to get to the desktop as well.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #3 - Posted 2005-12-23 10:31:03 »

so that's a workable way to get to the desktop as well.

You *want* to get to the desktop?  Shocked

Seriously, I haven't seen any point in that stupid thing since 1997 and IE4's introduction of decent toolbars / shortcut bars. What's the point? It's more clicks away AND less user-friendly than the shortcut bar, and has no more useful structure than the start menu.

malloc will be first against the wall when the revolution comes...
Offline pepijnve

Junior Devvie




Java games rock!


« Reply #4 - Posted 2005-12-23 13:10:28 »

You *want* to get to the desktop?  Shocked
Smiley
Yes and no. I agree that the desktop isn't ideal, but it's all NT has. No quick launch bar to be seen anywhere. It's not perfect, but it's still faster than scanning the start menu each time I want to launch an application.
Offline g666

Junior Devvie





« Reply #5 - Posted 2005-12-23 13:26:49 »

I didnt know that minimizing triggers swapping, but i did wonder why the amount of mem used by programs goes down when the get minimized so i guess that explains it. Smiley

desperately seeking sanity
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #6 - Posted 2005-12-23 13:52:33 »

You *want* to get to the desktop?  Shocked
Smiley
Yes and no. I agree that the desktop isn't ideal, but it's all NT has. No quick launch bar to be seen anywhere. It's not perfect, but it's still faster than scanning the start menu each time I want to launch an application.

My 1997 reference was because that was the year that windows NT 4 got a quick-launch bar Smiley. So ... I'm not sure what NT you're referring to, or else my memory is screwed Sad. MSIE 4 added quick-launch to NT, no?

malloc will be first against the wall when the revolution comes...
Offline pepijnve

Junior Devvie




Java games rock!


« Reply #7 - Posted 2005-12-23 14:10:43 »

the KeepResident Eclipse plugin documentation provides some interesting insight.
My 1997 reference was because that was the year that windows NT 4 got a quick-launch bar Smiley. So ... I'm not sure what NT you're referring to, or else my memory is screwed Sad. MSIE 4 added quick-launch to NT, no?
It seems we're both partially right. I found a document explaining that this functionality only gets installed with IE4, not with IE5.x or 6. My machine has IE5.5 on it which probably explains the missing functionality. Given the bureaucratic environment I'm currently working in, there's no chance I'll ever get the sys admins to install that stuff unless I file a formal change request or something. Not worth the effort...
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (28 views)
2014-12-15 09:26:44

Mr.CodeIt (19 views)
2014-12-14 19:50:38

BurntPizza (37 views)
2014-12-09 22:41:13

BurntPizza (72 views)
2014-12-08 04:46:31

JscottyBieshaar (34 views)
2014-12-05 12:39:02

SHC (46 views)
2014-12-03 16:27:13

CopyableCougar4 (42 views)
2014-11-29 21:32:03

toopeicgaming1999 (110 views)
2014-11-26 15:22:04

toopeicgaming1999 (96 views)
2014-11-26 15:20:36

toopeicgaming1999 (29 views)
2014-11-26 15:20:08
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!