OutofMemoryError in #977

I get a lot of these errors with 977. Im running it on XP PRo with 768 Megs.

How do I increase the memory allocated to IDEA?

Thanks

2 comments

in your ]]>/bin there is a file called idea.lax. In that file you will find the memory settings.

0

More precisely, look for:

lax.nl.java.option.additional=-Xms160m -Xmx256m -Dsun.java2d.noddraw=true -D
idea.system.path="..
system" -Didea.config.path="..
config" -Didea.popup.w
eight=heavy

Change the -Xmx to something higher (this is the maximum heap size). I've
found -Xmx256m (256MB of RAM) to be fine for most purposes. Don't forget
the 'm' at the end, -Xmx256 means 256 bytes, whereas -Xmx256m means 256
megabytes.

;ted

"charles decroes" <spam@decroes.com> wrote in message
news:22982527.1069940902078.JavaMail.javamailuser@localhost...

in your <IDEA_HOME>/bin there is a file called idea.lax. In that file you

will find the memory settings.


0

Please sign in to leave a comment.