Hi,
For plain Ruby apps you can specify JVM args in Project Properties ->
Run. For Rails apps there is no UI for this, but you can specify the
args by using the jvm.args property in nbproject/project.properties, e.g.:
jvm.args=-Xmx1024m
Or if you're using GlassFish as the server (not GlassFish gem though),
you need to specify the args in
<gf_install_dir>/glassfish/domains/domain1/domain.xml in the java-config
section.
HTH,
Erno
homerlex wrote:
> I am running Netbean 6.71 on a Vista 64 machine.
>
>
>
> I have a rails app with a given function that is a memory hog. When I run the app in netbeans using JRuby I get GC overhead limit exceeded errors.
>
>
>
> (If I run it using ruby it finishes fine.)
>
>
>
> I see the java.exe process for the running rails instance climb up to 600MB and hold steady there for a while before it craps out.
>
>
>
> Is there any way to tweak the GC and Memory settings for the JRuby java process running under Netbeans?
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...