<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>Hi&nbsp;Friend</DIV>
<DIV>&nbsp;</DIV>
<DIV>It seems to have some memory(heap) error. It's not Dspace&nbsp;error , clean everything and try to re-install everything.</DIV>
<DIV>If it continues to occur check your RAM size. The error is because of heap has been exhausted. </DIV>
<DIV>Heap is an internal memory pool created at start-up that tasks use to dynamically allocate memory as needed.<BR>&nbsp;</DIV>Best Regards<BR><STRONG>Hardik Mishra<BR>Jr. Software Engineer</STRONG>
<DIV></DIV><STRONG>WebInito Technologies - Ahmedabad - Gujarat(India).<BR><BR></STRONG>
<DIV>Give a man a fish, and you feed him for a day. Teach a man to catch fish and you feed him for a lifetime.
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: verdana, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> olufunmilayo favour &lt;olufunmilayo_favour@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> hardik mishra &lt;hardik_hunt@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, June 25, 2009 5:52:05 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: BUILD ERROR: Cannot execute mojo: resources<BR></FONT><BR>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV><STRONG>Thanks a lot, the idea seems to be working but still this error:</STRONG></DIV>
<DIV><BR><FONT size=5>&nbsp;An unexpected error has been detected by Java Runtime Environment:</FONT></DIV>
<DIV><FONT size=5>&nbsp;java.lang.OutOfMemoryError: requested 81920 bytes for GrET in C:\BUILD_AREA\jd<BR>6_01\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?</FONT></DIV>
<DIV><FONT size=5>&nbsp; Internal Error (414C4C4F434154494F4E0E494E4C494E450E4850500017), pid=2548, ti<BR>=1556</FONT></DIV>
<DIV><FONT size=5>&nbsp;Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)<BR>&nbsp;An error report file with more information is saved as hs_err_pid2548.log</FONT></DIV>
<DIV><FONT size=5>&nbsp;If you would like to submit a bug report, please visit:<BR>&nbsp;&nbsp; </FONT><A href="http://java.sun.com/webapps/bugreport/crash.jsp" target=_blank rel=nofollow><FONT size=5>http://java.sun.com/webapps/bugreport/crash.jsp</FONT></A></DIV>
<DIV><FONT size=5>:\dspace-1.5.2-src-release\dspace&gt;mvn package</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Please, what do I do to rectify this?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>Funmi<BR><BR>--- On <B>Wed, 6/24/09, hardik mishra <I>&lt;hardik_hunt@yahoo.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: hardik mishra &lt;hardik_hunt@yahoo.com&gt;<BR>Subject: BUILD ERROR: Cannot execute mojo: resources<BR>To: olufunmilayo_favour@yahoo.com<BR>Cc: "Dspace Tech" &lt;dspace-tech@lists.sourceforge.net&gt;<BR>Date: Wednesday, June 24, 2009, 11:47 PM<BR><BR>
<DIV id=yiv160054337>
<STYLE type=text/css><!--#yiv160054337 DIV {margin:0px;}--></STYLE>

<DIV style="FONT-SIZE: 10pt; COLOR: #7f7f00; FONT-FAMILY: verdana, helvetica, sans-serif">
<DIV></DIV>
<DIV>Hi Friend</DIV>
<DIV>&nbsp;</DIV>
<DIV>Follow this steps , it might solve yout problem..</DIV>
<DIV>&nbsp;</DIV>
<DIV>1. Add 'C:\apache-maven-2.1.0\bin' to your Environment PATH variable.</DIV>
<DIV>2. Create&nbsp;a new environment variable M2_HOME and give value&nbsp; C:\apache-maven-2.1.0.</DIV>
<DIV>3. Create&nbsp;another &nbsp;new environment variable M2 and give value&nbsp; %M2_HOME%\bin</DIV>
<DIV>4.&nbsp;Open&nbsp;new command prompt.</DIV>
<DIV>5. Go to Dspace Install directory.</DIV>
<DIV>[dspace-1.5.2-src-release]\dspace\</DIV>
<DIV>and run mvn package</DIV>
<DIV>&nbsp;</DIV>
<DIV>It should work<BR>&nbsp;</DIV>Best Regards<BR>Hardik Mishra<BR>Jr. Software Engineer 
<DIV></DIV>WebInito Technologies - Ahmedabad - Gujarat(India)<BR><BR>
<DIV>Give a man a fish, and you feed him for a day. Teach a man to catch fish and you feed him for a lifetime. 
<DIV></DIV></DIV></DIV><BR></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></DIV></DIV></DIV></div><br>

      </body></html>