Link to home
Start Free TrialLog in
Avatar of garycris
garycrisFlag for United States of America

asked on

Java.lang.outofmemory error - need help editing JRE parameters

I'm running an application that uses the Sun Java Plug-in 1.3.1_09 on a Windows XP desktop with IE6.
After running the application for a little while it locks up.  When I review the Java Console, I see the error Java.lang.OutOfMemory Error.
I have done some research and the application's tech support site addresses the issue and provides the following recommendation:

"Here is the solution:  Error: java.lang.OutOfMemory in java console
 JRE parameters set on the machine: "-Xms128 -Xmx512 -Xss10"
Adjustment made to resolve:-Xms256m -Xmx256m -Xss6m"


Unfortunately they do not go any further and assume the user knows how to adjust these parameters.

Please provide suggestions on how I can implement the fix that is suggested.

Thanks
Avatar of JugglerW
JugglerW

I have a german XP, so the menu names may be wrong for you

Startmenu -> Systemcontrol -> Java Plugin -> Extended

you find an edit field "Java Runtime options"

her you can insert the options above.

But I have a 1.4.2 plugin, so there may be differnces for your version.

Hope this helps
Avatar of garycris

ASKER

I appreciate your response, unfortunately, my system does not look the way you have described and I am unable to get to field you described.
>> I have a german XP
mine is french, but i hope to well translate it in english:

Start menu / Parameters / Control Panel / Java Plugin 1.3.1 / Advanced properties

then
>>you find an edit field "Java Runtime options"
or maybe named "Java Runtime parameters"
I see Java Runtime parameters.  But it only allows me to enter one parameter.  When I try to enter the next one, it over writes the previous one.  Is it storing the settings?  How can I see what the current settings are to tell if it saved my changes?

Thanks,
For 1.4.2 see:

http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/control_panel.html#starting

for how to start the Plugin Control Panel

seeing what Webstorm posted for 1.3.1 it should be very similar.

Sorry. Cannot help on this 1.3.1 is really old plugin version and has some serious errors and performance problems.
If possible upgrade to current version of plugin.
ASKER CERTIFIED SOLUTION
Avatar of Webstorm
Webstorm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mick Barry
Does your app require a lot of memory and would you expect it to run out?
The problem may be caused by a problem in your code.