[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [virgo-dev] fail unexpected exception -- (OutOfMemoryError) PermGen space
|
Hi,
What is actually the JVM issue we are talking about? I'm asking because afaik perm is used for class definitions and object/sting pools and it sounds strange to have so big perm area.
Judging from my experience having a perm area bigger than the heap is often a sign for problems. Are there any measurements in this regard? If not I can try to make a heap dump and analyze it with the Memory Analyzer (http://www.eclipse.org/mat/) to see if this will bring something.
Regards,
Hristo Iliev
-----Original Message-----
From: virgo-dev-bounces@xxxxxxxxxxx [mailto:virgo-dev-bounces@xxxxxxxxxxx] On Behalf Of Patsy Phelan
Sent: Friday, July 16, 2010 5:50 PM
To: Virgo Project
Subject: Re: [virgo-dev] fail unexpected exception -- (OutOfMemoryError) PermGen space
Hi,
You will have to add this to the environment variables for ANT, possibly
also for Virgo once you are running it. It is a known JVM issue.
# Workaround
# Java JVM issue in relation to the churn of the PERM cache.
export ANT_OPTS="-Xms64m -Xmx512m -XX:PermSize=128m
-XX:MaxPermSize=756m"
before you run ant for builds.
If it happens running Virgo, you can create a file called setenv.sh in
the virgo/bin directory and add the following in it:
export JAVA_OPTS="-Xms64m -Xmx512m -XX:PermSize=128m
-XX:MaxPermSize=756m"
On Fri, 2010-07-16 at 16:31 +0200, Florian Waibel wrote:
> Hi,
>
>
> i tried to compile the kernel (Core runtime) as written in
> http://wiki.eclipse.org/Virgo/[Source|Build] :
>
>
> After getting the source, running the command:
>
>
> ant clean clean-integration test
>
>
> results in
> ...
>
>
> [iajc] fail unexpected exception -- (OutOfMemoryError) PermGen
> space
> [iajc] PermGen space
> [iajc] java.lang.OutOfMemoryError: PermGen space
>
>
> Am i missing something? I tried OSX/2GB RAM and Ubuntu/2GB
>
>
> java version "1.6.0_20"
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)
>
>
> Any ideas?
>
>
> Thanks,
> florian
>
>
> _______________________________________________
> virgo-dev mailing list
> virgo-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/virgo-dev
_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev