mikedopp.net

doppNet
posts - 56, comments - 8, trackbacks - 1

Java ran out of memory?(client 1.4.1 and 5)

 

Java? What does java have to do with .NET?

   Well it is a framework much like .NET... Good enough?

Ok so I am not a fan of really bad programming. Especially Java programming. So to remind

you why programs based on Java suck here is a great way to speed up and kill you machine.

----------------------------------------------------------------------------------------

Source:

Do you ever get tired of Java running slow not allocating memory as it should?

Try this.

Just a simple way to load those fun little java apps faster.

***By default Java is only allowed to use 64 megs of RAM***

Configure Java on the PC as follows:

Go to start Menu
go to Settings/Control Panel
double click on the Java Plugin 1.*.*
(If there is more than one java settings program, consider changing all.)
in the field labeled "Java Runtime Parameters" enter the following runtime parameter:

-Xms64m -Xmx192m

Here is a brief explanation of the syntax:"-Xms256m -Xmx256m"
-Xms (at start of application)
-Xmx (maximum allowed)
256 (amount)
m ( for megabytes) or g (for gigabytes)

Now all you need to do is restart the java app and watch the memory on your pc get sucked dry.

Enjoy!

Print | posted on Monday, July 23, 2007 1:48 PM |

Feedback

No comments posted yet.

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 8 and 2 and type the answer here:

Powered by: