SRL Archive - Outdated Tutorials

Possible Smart WhiteScreen Fix.


ZaSz

2009-07-16 22:42:16

Here is a solution.

The default for Sun Java is to allow only 64MB of RAM for applets. While this is usually enough for most games, some push quite close to the limit and one or two occasionally exceed it. To get better performance out of the games that push the envelope, and reduce the frequency of hangs, you should increase the heap allowed.

Open the Java control panel. For Windows, this should be in the Control Panel. For Linux, it's $JAVA_HOME/jre/bin/jcontrol. For Apple OS * it's in Applications | Utilities.

Select the "Java" tab. It has a section for applets and a section for applications. Click the "View" button in the applet section, and add the following text to the "Java Runtime Parameters" field for the JVM you use:

-Xmx256M
(INCLUDE the "-" mark and all letters.)

That allocates 256M - if you have lots of RAM then feel free to make it higher.


Also, do not set it for more than half of your computers available ram.

Ex. If you have 1 gig ram. Do not put it more than 500M

Btw, even if you run java fine on your pc. This is handy cause things can be inputted in memory and slow down java.

Happy autoing without freezes :D

EDIT: Also, you may need to restart pc to see the changes.

Floor66

2009-07-16 22:57:26

This could actually be it :D

Shuttleu

2009-07-17 01:28:47

i cant find the root folder of java in ubuntu
help!

~shut

EDIT: never mind i found it
it was in /usr/lib/jvm/java-6-sun/

Infantry001

2009-07-17 02:09:30

Thanks! I'll see if it works =)

ZaSz

2009-07-17 07:45:48

Plz tell if it does, I only have gotten white screens on other java multiplayer games. But I figure with Smart+RS, it can sometime be a handful.

Infantry001

2009-07-17 08:02:12

I no longer get white screens - however, I still get black screens.

Daniel

2009-07-17 08:05:13

Thanks :) This fix allowed me to play the HD version of the game, without RS saying that my computer was "incompatible". Meets all the minimum requirements, thanks ZaSz.

Rep+ for the nice find ;)

Overtime

2009-07-17 09:44:42

I hope this works. I just did it :) wait am i suppose to include the - in Xmx256M. Because i didnt.. lol

and i have 2gb so i set it to about 512M Good enough :D ?

ZaSz

2009-07-17 09:45:55

U need the -

or it wont work. And yes thats plenty. (also may need to restart pc for changes to take effect)

And thanks for rep dan.

senrath

2009-07-17 09:49:11

Nice find. Although if you have 1 gig of RAM, half of that is 512M, not 500 :P

ZaSz

2009-07-17 09:50:15

From: senrath
Nice find. Although if you have 1 gig of RAM, half of that is 512M, not 500 :P


Thanks, but I was keeping it simple :p

Overtime

2009-07-17 09:52:22

well when you install ram. It usually takes up some. Like for me i have 2gb of ram but if i go to my computer to see how much its says 1096 ram

senrath

2009-07-17 10:26:04

From: squancy
well when you install ram. It usually takes up some. Like for me i have 2gb of ram but if i go to my computer to see how much its says 1096 ram


O_O I'm really trying to figure out what part of your system is causing you to only register 53% of the RAM you have installed. I know that not all of the RAM will show up, as some is allocated to things like your video card, but what the heck is using up 952 megabytes of RAM on your system?

Out of curiosity, can you run msinfo32.exe (Just go to Run -> msinfo32) and post the number it says for Total Physical Memory?

Overtime

2009-07-17 10:52:30

ahhh it says 2,048.00 MB.
and availiable is 1.32

ZaSz

2009-07-26 02:03:56

This fix is helpful!

armin

2009-07-29 06:28:31

I can't find it, i'm using Windows Vista. Help?


EDIT: Googled it.
http://gunblad3.blogspot.com/2008/03/java-control-panel-in-vista.html

EDIT AGAIN: I cant find cpl :(

EDIT AGAIN: Reinstalled java and cp came up.

ZaSz

2009-08-09 22:29:17

vista - Just do somethin like startup runescape in your browser, then right click on the java icon on the bottom window taskbar. and click control panel if your having trouble the 1st way.