Home
Analytics
java.lang.ClassCastException: java.lang.OutOfMemoryError
highway82
hello together,<br />
<br />
i have create a statistic report for a monetdb (volumn size round about 14gb). when i start the report in a local BIRT Report View, i get following error message:<br />
java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception<br />
<br />
at the moment i use following parameters in the eclipse.ini<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.reporting.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx2048m
</pre>
<br />
parameter of the computer:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
windows 7 64bit
usable ram: 3,25GB
</pre>
<br />
what's the problem?<br />
<br />
i hope somebody can help me.<br />
<br />
thanks, dominik
Find more posts tagged with
Comments
dsrikanth
Hi to All,<br />
I got same error while running the report in tomcat. Actually my report is taking long time to get huge data from database. I think in order to store that data inside RAM it needs a lot of space. I am using cross tabbing inside my report. I adjusted the tomcat setting like<br />
<br />
Java<br />
<strong class='bbc'>Initial memory pool : 200MB<br />
Maximum memory pool : 1024MB</strong><br />
<br />
My system configuration is<br />
<br />
2.44 GHz Intel P4 processor,<br />
1.25 GB of RAM,<br />
Windows XP SP2.<br />
Tomcat 6.0,<br />
JVM 1.6.0_22<br />
Birt 2.6<br />
<br />
After adjusting the tomcat setting there is no error but i getting a blank report.<br />
<br />
What i have to do? Pls hlp me.<br />
<br />
Thanks in advance,<br />
<br />
Regards,<br />
Srikant D.