|
|
Re: OutOfMemoryException [message #657966 is a reply to message #656692] |
Fri, 04 March 2011 18:17 |
Eclipse User |
|
|
|
Originally posted by: coolsnoopy.gmx.net
try the following
- launch ant outside eclipse (nearly always the better way..)
- check your script what it does / should do and correct the error
- give more RAM to your process
> Hi all,
>
> I have am outofmemoryexception while running an ant script on my
> eclipse, how do I resolve this?
>
>
> Buildfile: D:\Systems Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\build.xml
> all:
> clean:
> clean:
> clean:
> clean:
> [delete] Deleting directory D:\Systems
> Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\portal-service\cl asses
> clean:
> clean:
> clean:
> clean:
> build-common-java.clean:
> build-common-web.clean:
> clean:
> clean-themes:
> clean:
> clean:
> build-common-java.clean:
> print-current-time:
> [echo] February 27, 2011 at 09:27 AM
> start:
> compile:
> compile:
> [mkdir] Created dir: D:\Systems Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\portal-service\cl asses
> [copy] Copying 1 file to D:\Systems Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\portal-service\cl asses
> [copy] Copied 262 empty directories to 204 empty directories under
> D:\Systems Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\portal-service\cl asses
> [javac] Compiling 3434 source files to D:\Systems
> Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\portal-service\cl asses
> [javac] ----------
> [javac] 1. ERROR in D:\Systems Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\portal-service\sr
> c\com\liferay\portlet\social\service\persistence\SocialActiv
> ityFinderUtil.java (at line 0)
> [javac] /**
> [javac] ^
> [javac] Internal compiler error: java.lang.OutOfMemoryError: Java heap
> space at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAs
> CharArray(Util.java:401)
> [javac] ----------
>
> BUILD FAILED
> D:\Systems Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\build.xml:10: The following
> error occurred while executing this line:
> D:\Systems Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\build.xml:885: The following
> error occurred while executing this line:
> D:\Systems Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\build.xml:129: The following
> error occurred while executing this line:
> D:\Systems Development\Programming\Enterprise
> Collaboration\Liferay\liferay-portal-trunk\portal-service\bu ild.xml:30:
> java.lang.reflect.InvocationTargetException
>
> regards.
|
|
|
|
Powered by
FUDForum. Page generated in 0.07994 seconds