Compilation error - PermGen space Out of Memory

871 views
Skip to first unread message

DJP

unread,
Aug 8, 2009, 9:37:58 AM8/8/09
to BigBlueButton-dev
Hi everyone,

i don't know if someone already experienced that (see below), but i've
a strange bug when i compile BBB-client ! It's new since the
NotesModule : I mean i experienced the first time that bug when
NotesModules was added. Kinda strange since it's one of the smallest
module... But one who's using mate (!?). So i wondered if that was a
mate related bug... o_0'

In any case, i success compiling when i play around in build.xml and
change the build module order... and work... !! :s
I looked forward this issue on Google but i didn't find out a way to
bypass "the proper way" this issue...

Perhaps you experienced this too when developping the NotesModules ?
(NotesModule must be activated in the build.xml unlike the current
trunk...)

FIY, i use the BBB VM and 1024 RAM allocated to the VM...

Thanks,
DJP
PS:
[mxmlc]
[mxmlc] Error: PermGen space
[mxmlc]
[mxmlc] java.lang.OutOfMemoryError: PermGen space
[mxmlc] at java.lang.String.intern(Native Method)
[mxmlc] at macromedia.abc.AbcParser.scanCpool(AbcParser.java:
198)
[mxmlc] at macromedia.abc.AbcParser.parseAbc(AbcParser.java:
88)
[mxmlc] at flex2.compiler.abc.Compiler.parse1(Compiler.java:
179)
[mxmlc] at flex2.compiler.API.parse1(API.java:2315)
[mxmlc] at flex2.compiler.API.parse1(API.java:2268)
[mxmlc] at flex2.compiler.API.batch2(API.java:369)
[mxmlc] at flex2.compiler.API.batch(API.java:1117)
[mxmlc] at flex2.compiler.API.compile(API.java:1290)
[mxmlc] at flex2.compiler.API.compile(API.java:1210)
[mxmlc] at flex2.tools.Compiler.mxmlc(Compiler.java:275)
[mxmlc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[mxmlc] at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
[mxmlc] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
[mxmlc] at java.lang.reflect.Method.invoke(Method.java:616)
[mxmlc] at flex.ant.FlexTask.executeInProcess(FlexTask.java:
283)
[mxmlc] at flex.ant.FlexTask.execute(FlexTask.java:225)
[mxmlc] at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)
[mxmlc] at sun.reflect.GeneratedMethodAccessor340.invoke
(Unknown Source)
[mxmlc] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
[mxmlc] at java.lang.reflect.Method.invoke(Method.java:616)
[mxmlc] at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:106)
[mxmlc] at org.apache.tools.ant.Task.perform(Task.java:348)
[mxmlc] at org.apache.tools.ant.taskdefs.Sequential.execute
(Sequential.java:62)
[mxmlc] at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)
[mxmlc] at sun.reflect.GeneratedMethodAccessor340.invoke
(Unknown Source)
[mxmlc] at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
[mxmlc] at java.lang.reflect.Method.invoke(Method.java:616)
[mxmlc] at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:106)
[mxmlc] at org.apache.tools.ant.Task.perform(Task.java:348)
[mxmlc] at org.apache.tools.ant.taskdefs.MacroInstance.execute
(MacroInstance.java:394)
[mxmlc] at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:288)

BUILD FAILED

Richard Alam

unread,
Aug 8, 2009, 10:52:16 AM8/8/09
to bigblueb...@googlegroups.com
Hi DJP,

I've come across that issue but haven't had the chance to look deeper.
It could be that the mate lib needs to be in the build path.

Will take a look.

Richard
--
---
BigBlueButton
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

DJP

unread,
Aug 8, 2009, 10:56:42 AM8/8/09
to BigBlueButton-dev
aw... ok ! I thought that was a memory issue in fact ^^

I guessed too an issue with lib path but i didn't understand why it
was working when changing the build.xml module order... That's why i
posted here, need to know if it was me or if someone else experienced
this issue ^^

I'm relief :p

Thanks,
DJP

Xie Yan Qing

unread,
Aug 8, 2009, 11:02:04 PM8/8/09
to bigblueb...@googlegroups.com
I meet with the issue also. I add a ANT_OPTS variable before runing the ant script, and the error is gone.

export ANT_OPTS="-Xmx512m -XX:MaxPermSize=256m"
ant cleanandmake

2009/8/8 DJP <D...@architectes.org>

Fred Dixon

unread,
Aug 9, 2009, 12:14:05 PM8/9/09
to bigblueb...@googlegroups.com
Thanks Xie!

Regards,... Fred
Reply all
Reply to author
Forward
0 new messages