Problems with android src.

Put your problem here if it does not fit any of the other categories.

Problems with android src.

Postby avolovoy » Thu Dec 18, 2008 6:38 am

Hi All, trying to build src as described here :
http://source.android.com/download
Everything cool.
Now trying this

http://source.android.com/using-eclipse
Well, why importing the project eclipse get's out of memory despite the right ini and attempts to run it as
/home/alex/eclipse/eclipse -clean -vmargs -Xms512m -Xmx1024m -XX:MaxPermSize=512m

Any idea how to fix this ?
Config :
t61 laptop with 2G memory + Ubuntu 8.10 + java 1.6.0_10" + eclipse Version: 3.4.1. Memory heap params are there ( if i look at eclipse config from UI ). All paths are exported right and i'm getting this
!SESSION 2008-12-17 20:54:51.124 -----------------------------------------------
eclipse.buildId=M20080911-1700
java.version=1.6.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: org.eclipse.platform
Command-line arguments: -os linux -ws gtk -arch x86 -clean org.eclipse.platform -clean

!ENTRY org.eclipse.mylyn.tasks.ui 2 0 2008-12-17 20:56:21.832
!MESSAGE Repository link provider took over 5s to execute and was timed out: "[org.tigris.subversion.subclipse.mylyn.SubclipseTaskRepositoryLinkProvider@652f4d]"

!ENTRY org.eclipse.jdt.core 4 4 2008-12-17 21:04:40.961
!MESSAGE Background Indexer Crash Recovery
!STACK 0
java.lang.OutOfMemoryError: Java heap space
at org.eclipse.jdt.internal.compiler.util.Util.getInputStreamAsCharArray(Util.java:386)
at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsCharArray(Util.java:1145)
at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsCharArray(Util.java:1114)
at org.eclipse.jdt.internal.core.search.JavaSearchDocument.getCharContents(JavaSearchDocument.java:53)
at org.eclipse.jdt.internal.core.search.indexing.SourceIndexer.indexDocument(SourceIndexer.java:60)
at org.eclipse.jdt.internal.core.search.JavaSearchParticipant.indexDocument(JavaSearchParticipant.java:72)
at org.eclipse.jdt.internal.core.search.indexing.IndexManager.indexDocument(IndexManager.java:354)
at org.eclipse.jdt.internal.core.search.indexing.IndexManager$1.execute(IndexManager.java:692)
at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:394)
at java.lang.Thread.run(Thread.java:619)

!ENTRY org.eclipse.core.jobs 4 2 2008-12-17 21:05:02.576
!MESSAGE An internal error occurred during: "Building workspace".
Alexey Volovoy
Bytesharp.NET
User avatar
avolovoy
Experienced Developer
Experienced Developer
 
Posts: 68
Joined: Mon Nov 03, 2008 10:32 pm
Location: kansas

Top

Postby alpesh_harsoda » Thu Dec 18, 2008 12:33 pm

hi alex,
have u attached any jar file?bcoz sometime ago i have also problem like heap space.
Regards,
Alpesh Patel,
Logistic Infotech
http://www.logisticinfotech.com
User avatar
alpesh_harsoda
Senior Developer
Senior Developer
 
Posts: 106
Joined: Sat Sep 20, 2008 12:35 pm
Location: Rajkot,Gujarat(India)

Postby avolovoy » Thu Dec 18, 2008 3:09 pm

alpesh_harsoda wrote:have u attached any jar file?

I don't think i understood the question ? Where i attached a jar file ??
Alexey Volovoy
Bytesharp.NET
User avatar
avolovoy
Experienced Developer
Experienced Developer
 
Posts: 68
Joined: Mon Nov 03, 2008 10:32 pm
Location: kansas

Postby alpesh_harsoda » Thu Dec 18, 2008 3:14 pm

avolovoy wrote:
alpesh_harsoda wrote:have u attached any jar file?

I don't think i understood the question ? Where i attached a jar file ??


i told that have import any reference jar file in your project?
Regards,
Alpesh Patel,
Logistic Infotech
http://www.logisticinfotech.com
User avatar
alpesh_harsoda
Senior Developer
Senior Developer
 
Posts: 106
Joined: Sat Sep 20, 2008 12:35 pm
Location: Rajkot,Gujarat(India)

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 13 guests