Lately, I have been getting Out of Memory Exception every time NetBeans load up. This is the exception message, "java.lang.OutOfMemoryError: Java heap space". I am using the daily build of the custom ide for Ruby development.
I fixed the problem by setting the max heap size to a 512 MB. This is how I start the ide.
nbrubyide.exe -J-Xmx512m
UPDATE: I just found out that I can set the max heap size in the nbrubyide.conf file. It is in the etc directory under c:\nbrubyide
I modified it to
default_options="-J-Xms24m -J-Xmx256m"
Subscribe to:
Post Comments (Atom)
1 comment:
Wonderful blog & good post.Its really helpful for me, awaiting for more new post. Keep Blogging!
Ruby Development
Post a Comment