I googled the "cannot allocate memory" from your error message.

This page:
http://stackoverflow.com/questions/1124771/how-to-solve-java-io-ioexception-error-12-cannot-allocate-memory-calling-runt
makes it seem like the problem is that you're allocating TOO much memory to
maven.  Have you changed its settings at all?  Have you checked to make sure
you're running the latest mvn?

Ben

On Tue, Aug 23, 2011 at 7:36 AM, Sokha RUM <[email protected]> wrote:

> Hi OpenMRS,
>
> I updated OpenMRS from trunk in the morning. And i got the error after
> running mvn package, i do not know what was wrong.
>
> Here are the error message:
> --------------------------------
> [INFO] Building openmrs-api
> [INFO]    task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Change the default 'svn' provider implementation to 'javasvn'.
> [INFO] [build-helper:parse-version {execution: parse-version}]
> [INFO] [java-formatter:format {execution: default}]
> [INFO] Using 'UTF-8' encoding to format source files.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to find files using includes/excludes
>
> Embedded error: Failed to retrieve numeric file attributes using: '/bin/sh
> -c ls -1laR /home/sokha/workspaces/java/Openmrs-trunk/api/src/main/java'
> java.io.IOException: error=12, Cannot allocate memory
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Tue Aug 23 11:27:32 ICT 2011
> [INFO] Final Memory: 37M/296M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Sokha.
>
> _________________________________________
>
> To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
> [email protected] with "SIGNOFF openmrs-devel-l" in the  body
> (not the subject) of your e-mail.
>
> [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]
>

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to