Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
java.lang.OutOfMemoryError
Sachin0025
java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception
Find more posts tagged with
Comments
mcremer
<blockquote class='ipsBlockquote' data-author="'Sachin0025'" data-cid="82421" data-time="1315461781" data-date="07 September 2011 - 11:03 PM"><p>
java.lang.ClassCastException: java.lang.OutOfMemoryError cannot be cast to java.lang.Exception<br /></p></blockquote>
<br />
In your Eclipse Workspace you have a .metadata directory with the .log in there. <br />
<br />
But your error has all the diptions of a PermGenSpace error.<br />
<br />
Edit your Eclipse.ini and increase your permgenspace by adding these arguments:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
-vmargs
#http://www.md.pp.ru/~eu/jdk6options.html
#http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html
#http://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for-eclipse
# Commenting is done under parameter what it does.
-Dosgi.requiredJavaVersion=1.6
## Forces the Eclipse to run on the newest JDK
-Declipse.p2.unsignedPolicy=allow
## Makes the Update policy of Eclipse more leanant to unsingd content.
#-Dide.gc=true
## Forces Java to use garbage collection when idle
#-Xss8m
##determines the size of the stack
-XX:PermSize=512m
-XX:MaxPermSize=1024m
</pre>
Sachin0025
thanx.
but actually, i am using reports in netbeans project using birt libraries.
So can u tell me where should i modify for PermGenSpace error
mcremer
<blockquote class='ipsBlockquote' data-author="'Sachin0025'" data-cid="82449" data-time="1315487174" data-date="08 September 2011 - 06:06 AM"><p>
thanx.<br />
but actually, i am using reports in netbeans project using birt libraries.<br />
So can u tell me where should i modify for PermGenSpace error<br /></p></blockquote>
In the Netbeans ini file that initiate your VM.