Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OutOfMemoryError during compile



Doug Andrews wrote:

>Doing some research, i've found that if i add "-J-mx512m" as a command
>line option to javac, i don't get the memory error.
>Is there any way i can configure XCode to use this option?

I don't know if you got an answer to this yet, so...

Under the Target list in the main window, double-click the target you want
to affect.  Its Target window will appear.

In the left-hand list of Settings, under Settings : Simple View, there
should be a Java Compiler Settings item.  Click on it.  Its pane should
appear.

Near the bottom of the pane should be a text-box labeled "Other Java
Compiler Flags".  Enter -J-mx512m there.

If the above doesn't work. ask again, and if possible provide further
details, such as a detailed error output from the failed Build.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.