I have allocated 2 GB memory to
application server ….
More over when I am running the same using
the previous version jars i.e., 3.0.x drools I never get this…
Thanks,
Shiva
Tel: +91-40-27782000 Ext: 4259
From: rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of Christopher.Mathrusse@sybase.com
Sent: Tuesday, January 22, 2008
12:43 PM
To: Rules Users List
Subject: Re: [rules-users]
java.lang.OutOfMemoryError: Java heap space onDrools 4.0.4
Allocate more memory for the JVM when starting the
application/server. As an example, pass the following in to the JVM on startup:
-Xms128m
-Xmx256m
By
default, the JVM only allocate 64M of memory. You simply need to tell the JVM
to allocate more.
"Shiva Shankar Reddy
Katula" <shivashankar.k@sonata-software.com> 01/21/2008 10:38 PM
|
|
Hi,
I
am getting the following outofmemory error after upgrading from 3.0.x to 4.0.4.
I
use to never get this error before.
I
don't think this is because of system memory issue.
I
have 8 GB RAM Linux Machine with JBOSS Server.
Do
anybody have this issue if so what is the resolution.
22:22:38,177 ERROR
[STDERR] Exception in thread "Timer-354"
22:22:38,177 ERROR
[STDERR] java.lang.OutOfMemoryError: Java heap space
22:22:38,177 ERROR
[STDERR] at java.lang.StringCoding.trim(StringCoding.java:64)
22:22:38,177 ERROR
[STDERR] at
java.lang.StringCoding.access$400(StringCoding.java:37)
22:22:38,177 ERROR
[STDERR] at
java.lang.StringCoding$CharsetSE.encode(StringCoding.java:353)
22:22:38,177 ERROR
[STDERR] at java.lang.StringCoding.encode(StringCoding.java:378)
22:22:38,177 ERROR
[STDERR] at java.lang.StringCoding.encode(StringCoding.java:384)
22:22:38,177 ERROR
[STDERR] at java.lang.String.getBytes(String.java:829)
22:22:38,183 ERROR
[STDERR] at
org.drools.rule.builder.dialect.java.JavaDialect.addClassCompileTask(JavaDialect.java:472)22:22:38,183
ERROR [STDERR] at
org.drools.rule.builder.dialect.java.JavaDialect.addFunction(JavaDialect.java:442)
22:22:38,183 ERROR
[STDERR] at org.drools.compiler.PackageBuilder.addFunction(PackageBuilder.java:406)
22:22:38,183 ERROR
[STDERR] at
org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:289)
22:22:38,183 ERROR
[STDERR] at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:167)
Thanks,
Shiva
Tel:
+91-40-27782000 Ext: 4259_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users