JVM error, please help

When I try to load an online RPG called "Runescape" the Sun Java Consol says something similar to the following.

Exception in thread "Thread-8" java.lang.OutOfMemoryError: Java heap space

I'm not a Java programmer or anything, I would just like to know how to fix this problem.

Thanks

[310 byte] By [kn710a] at [2007-10-2 15:56:24]
# 1
I forgot to mention in my original post but I also have the latest Java version installed, incase that helps.
kn710a at 2007-7-13 16:15:46 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
I'm having the same problem but I can't seem to get any help on it. It's something on my computer I know that, because it works on my other comp. Some help would be nice. :D
Wheelman56a at 2007-7-13 16:15:46 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3

The error means that the java application needs more memory to run.

You can increase the memory available for java objects by using the

-Xmx option. For example, to set the value to 128MB, add the option

-Xmx128m (the 'm' is for megabytes) to the java command line.

If you are running in a browser, you will have to use the java control

panel to add this option. Go to Control Panel, then click on the java icon

to start the java control panel.

Note that I don't know how much memory Runescape needs, 128M is

just a guess. You may have to try a few different values. However,

you should keep the value smaller than the amount of memory installed

in your computer.

jxca at 2007-7-13 16:15:46 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4

Hi-

Strangely enough, I also came here because of Runescape problems. Whenever I try to load the application, all I see is a white screen. Only the part where I login shows up. Once I hit connect, it doesn't load past that.

Anyway

jxc, I'm having the same problem as he is with the same error message, except I have 2GB of RAM and 256MB of video RAM. I'm also running updated JAVA. With that having been said, I think that upgrading memory won't solve the problem.

But if you DO solve the problem, PLEASE let me know, because I still can't play Runescape! :) Just e-mail me at paintballmjm@earthlink.net if you get a fix please.

Thanks!

Mike

PaintballMJMa at 2007-7-13 16:15:46 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 5

i keep getting booted to my desktop while i play runescape as well. I keep getting this message:

# An unexpected error has been detected by HotSpot Virtual Machine:

#

# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d671e64, pid=2084, tid=2640

#

# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)

# Problematic frame:

# V [jvm.dll+0x1e64]

#

For the life of me i cant figure out what is happening, please help

If you need more information u can contact me at faukthis@hotmail.com

thanx please help as im addicted to runescape, lol

stinkeytoesa at 2007-7-13 16:15:46 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 6

> Anyway

> jxc, I'm having the same problem as he is with the

> same error message, except I have 2GB of RAM and

> 256MB of video RAM. I'm also running updated JAVA.

> With that having been said, I think that upgrading

> memory won't solve the problem.

Even though you have lots of memory on you machine,

you still need to tell the JVM to use more of it with the

-Xmx flag.

Did anyone find that setting a larger heap size with -Xmx help?

What's the magic number?

jon999a at 2007-7-13 16:15:46 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 7
I don't know how to set flags, nor do I know how to edit code and all that jazz. All I want to know is how I can increase the Java heap space through the control panel or some other EASY way.
THEEa at 2007-7-13 16:15:46 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 8

this is what my java thing sed

Java Plug-in 1.5.0_06

Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM

User home directory = C:\Documents and Settings\gt2

network: Loading user-defined proxy configuration ...

network: Done.

network: Loading proxy configuration from Netscape Navigator ...

network: Reading user preference file from C:\DOCUMENTS AND SETTINGS\GT2\APPLICATION DATA\Mozilla\Profiles\default\r31mq1ww.slt\prefs.js

network:Auto config URL: http/www.runescape.com

network:network.proxy.http=runescape.com

network:Proxy override:

network:Proxy enable: 2

network: Done.

network: Loading browser proxy configuration ...

network: Done.

network: Proxy Configuration: Browser Proxy Configuration

basic: Cache is disabled by user

-

c:clear console window

f:finalize objects on finalization queue

g:garbage collect

h:display this help message

l:dump classloader list

m:print memory usage

o:trigger logging

p:reload proxy configuration

q:hide console

r:reload policy configuration

s:dump system and deployment properties

t:dump thread list

v:dump thread stack

x:clear classloader cache

0-5: set trace level to <n>

-

basic: Registered modality listener

basic: Referencing classloader: sun.plugin.ClassLoaderInfo@85af80, refcount=1

basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1ff5ea7

basic: Loading applet ...

basic: Initializing applet ...

basic: Starting applet ...

network: Connecting http://uk4.runescape.com/loader1304396379.jar with proxy=DIRECT

network: Connecting http://uk4.runescape.com/loader1304396379.jar with cookie "serverlist_order=MLPW; RSCOUNTRY=0; RSORIGIN=RUNESCAPE"

network: Connecting http://uk4.runescape.com/loader.class with proxy=DIRECT

network: Connecting http://uk4.runescape.com/loader.class with cookie "serverlist_order=MLPW; RSCOUNTRY=0; RSORIGIN=RUNESCAPE"

network: Connecting http://uk4.runescape.com/loader/class.class with proxy=DIRECT

network: Connecting http://uk4.runescape.com/loader/class.class with cookie "serverlist_order=MLPW; RSCOUNTRY=0; RSORIGIN=RUNESCAPE"

load: class loader.class not found.

java.lang.ClassNotFoundException: loader.class

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketException: Resource temporarily unavailable: recv failed

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(Unknown Source)

at java.io.BufferedInputStream.fill(Unknown Source)

at java.io.BufferedInputStream.read1(Unknown Source)

at java.io.BufferedInputStream.read(Unknown Source)

at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)

at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

... 10 more

basic: Exception: java.lang.ClassNotFoundException: loader.class

Exception in thread "Thread-4" java.lang.NullPointerException

at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)

at sun.plugin.AppletViewer.showAppletException(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.NullPointerException

at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)

at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

basic: Exception: java.lang.NullPointerException

when i was trying to play it for 3days now i need help plz can u help us all runescape warriors

crazy_ga at 2007-7-13 16:15:47 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 9

What is the

Operating System

Browser

Java Runtime Environment

installed on your system?

Note: Include the version info as well.

For Windows XP, ensure that you have latest service packs/patches installed from:

http://www.windowsupdate.com

Apart, ensure that you have space for Temporary File settings in the Java Control Panel is set as "Unlimited"

To access:

Go to - Start -> Settings -> Control Panel -> Java -> General -> Temporary Internet Files - Settings - Amount of Disk Space Used - Select "Unlimited"

Close any other unused applications/programs to provide maximum resources for Runescape.

If you still have these issues persisting, report them to Java Support at:

http://java.com/en/download/contact_landing.jsp

spardeepa at 2007-7-13 16:15:47 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 10
when i try to download java it say's we have enncounted a error and it will not let me download it and i need to download it so i can play runescape but won't let me
hgjkhjgggha at 2007-7-13 16:15:47 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 11

ok this is whats happend my ISP is with NTL and i went on holiday and forgot to pay the bill so when i got back i was cut off but i paid the bill and got put back on i was on the 1MB boardband and i tryed to play runescape but when i open it all it dose is stay at LOADING GAME ENGINE and after a little bit of time it will load the game and then i login but after i login i can play it for like 5 mins and then its stats to lag really bad and then i close the program and try to do it all again and it just stays at LOADING GAME ENGINE and thats it so i thorght it was my internet so i got the 4MB broardband and it still dose it have i done something to my java do i need something i dont no if any1 can help me then plz do!?!

Fyobla at 2007-7-13 16:15:47 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 12
I get a message. I am running the latest version of Java and Runescape gives me a white screen and says...java.lang.ClassNotFoundException: loader.class
Jam0206a at 2007-7-13 16:15:47 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 13
Im playing runescape from long long time and it worked in my camputer.But now few days ago runescape didnt worked! wen ever i go to it it tells me plz wait and it load it take liek 2 minute then it tells me Internet Explorer cannot display the webpageCan some1 help me plz
Ajaz@a at 2007-7-13 16:15:47 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 14
im new kid
lil_juvya at 2007-7-13 16:15:47 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 15
remove the aplet and put another one
lil_juvya at 2007-7-20 22:46:06 > top of Java-index,Java HotSpot Virtual Machine,Specifications...