Hi Jerad,

Would you be able to resolve your problem after adding following line in
.bashrc file.

export MAVEN_OPTS='-Xms2048m -Xmx4096m -XX:MaxPermSize=1024m'

Thanks !

On Wed, Sep 24, 2014 at 5:24 PM, Jerad Rutnam <[email protected]> wrote:

> Hi,
>
> On Wed, Sep 24, 2014 at 3:49 PM, Jerad Rutnam <[email protected]> wrote:
>
>> Hi,
>>
>> UPDATE:
>>
>> @Manula: I changed the email thread to "[email protected]". Thanks!
>> @Manoj: It worked. Thanks!
>>
>> Regards,
>> Jerad
>>
>>
>> On Wed, Sep 24, 2014 at 3:24 PM, Jerad Rutnam <[email protected]> wrote:
>>
>>> Hi Manoj,
>>>
>>> Thanks for the tip. I forgot to set it after installing ubuntu. I'll try
>>> that out and let you know.
>>>
>>> Regards,
>>>
>>> On Wed, Sep 24, 2014 at 3:19 PM, Jerad Rutnam <[email protected]> wrote:
>>>
>>>> Hi Manula,
>>>>
>>>> Thanks for the info. sure, ill use it.
>>>>
>>>> Regards,
>>>>
>>>> On Wed, Sep 24, 2014 at 3:12 PM, Manula Chathurika Thantriwatte <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Jerad,
>>>>>
>>>>> Please use Apache Dev list [1] for Apache Stratos related issue.
>>>>>
>>>>> [1] [email protected]
>>>>>
>>>>> Thanks !
>>>>>
>>>>> On Wed, Sep 24, 2014 at 2:49 PM, Manoj Gunawardena <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi jerad
>>>>>>
>>>>>> Please set MAVEN_OPTS and try.
>>>>>>
>>>>>> ex -: export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:MaxPermSize=1024m"
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Wed, Sep 24, 2014 at 2:46 PM, Jerad Rutnam <[email protected]> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm getting an error when I try to build Apache Stratos from the
>>>>>>> source, anyone else faced this issue?
>>>>>>>
>>>>>>> *Error Log*
>>>>>>> ====================================================================
>>>>>>>
>>>>>>> [INFO] Apache Stratos - Tenant Activity - User Interface .. FAILURE
>>>>>>> [ 12.396 s]
>>>>>>>
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] BUILD FAILURE
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [INFO] Total time: 03:09 min
>>>>>>> [INFO] Finished at: 2014-09-24T14:14:59+05:30
>>>>>>> [INFO] Final Memory: 118M/372M
>>>>>>> [INFO]
>>>>>>> ------------------------------------------------------------------------
>>>>>>> [ERROR] Failed to execute goal
>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
>>>>>>> (default-compile) on project org.apache.stratos.tenant.activity.ui:
>>>>>>> Compilation failure
>>>>>>> [ERROR] Failure executing javac, but could not parse the error:
>>>>>>> [ERROR]
>>>>>>> [ERROR]
>>>>>>> [ERROR] The system is out of resources.
>>>>>>> [ERROR] Consult the following stack trace for details.
>>>>>>> [ERROR] java.lang.OutOfMemoryError: PermGen space
>>>>>>> [ERROR] at java.lang.ClassLoader.defineClass1(Native Method)
>>>>>>> [ERROR] at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
>>>>>>> [ERROR] at
>>>>>>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>>>>>>> [ERROR] at
>>>>>>> java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>>>>>>> [ERROR] at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>>>>>>> [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>>>>>>> [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>>>>>>> [ERROR] at java.security.AccessController.doPrivileged(Native Method)
>>>>>>> [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>>>>>>> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>>>>>>> [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>>>>>>> [ERROR] at
>>>>>>> com.sun.tools.javac.main.JavaCompiler.<init>(JavaCompiler.java:353)
>>>>>>> [ERROR] at
>>>>>>> com.sun.tools.javac.main.JavaCompiler.instance(JavaCompiler.java:88)
>>>>>>> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:424)
>>>>>>> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:353)
>>>>>>> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:342)
>>>>>>> [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:333)
>>>>>>> [ERROR] at com.sun.tools.javac.Main.compile(Main.java:94)
>>>>>>> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>>>>> Method)
>>>>>>> [ERROR] at
>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>>>>> [ERROR] at
>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>>>> [ERROR] at java.lang.reflect.Method.invoke(Method.java:601)
>>>>>>> [ERROR] at
>>>>>>> org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess0(JavacCompiler.java:551)
>>>>>>> [ERROR] at
>>>>>>> org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:526)
>>>>>>> [ERROR] at
>>>>>>> org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:167)
>>>>>>> [ERROR] at
>>>>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:678)
>>>>>>> [ERROR] at
>>>>>>> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
>>>>>>> [ERROR] at
>>>>>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
>>>>>>> [ERROR] at
>>>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>>>>>>> [ERROR] at
>>>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>>>>>>> [ERROR] at
>>>>>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>>>>>>> [ERROR] at
>>>>>>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>>>>>>>
>>>>>>> ====================================================================
>>>>>>>
>>>>>>> Thanks in advance,
>>>>>>> --
>>>>>>> *Jerad Rutnam | **Software Engineer - UI*
>>>>>>> WSO2, Inc. www.wso2.com
>>>>>>>
>>>>>>> *Email: [email protected] <[email protected]>*
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Manoj Gunawardena
>>>>>> Tech Lead
>>>>>> WSO2, Inc.: http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>> Mobile : +94 77 2291643
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Manula Chathurika Thantriwatte
>>>>> Software Engineer
>>>>> WSO2 Inc. : http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> email : [email protected] / [email protected]
>>>>> phone : +94 772492511
>>>>> blog : http://manulachathurika.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Jerad Rutnam | **Software Engineer - UI*
>>>> WSO2, Inc. www.wso2.com
>>>>
>>>> *Email: [email protected] <[email protected]>*
>>>>
>>>
>>>
>>>
>>> --
>>> *Jerad Rutnam | **Software Engineer - UI*
>>> WSO2, Inc. www.wso2.com
>>>
>>> *Email: [email protected] <[email protected]>*
>>>
>>
>>
>>
>> --
>> *Jerad Rutnam | **Software Engineer - UI*
>> WSO2, Inc. www.wso2.com
>>
>> *Email: [email protected] <[email protected]>*
>>
>
>
>
> --
> *Jerad Rutnam | **Software Engineer - UI*
> WSO2, Inc. www.wso2.com
>
> *Email: [email protected] <[email protected]>*
>



-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : [email protected] / [email protected]
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Reply via email to