• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OutOfMemoryError during compile
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OutOfMemoryError during compile


  • Subject: Re: OutOfMemoryError during compile
  • From: Sacha Michel Mallais <email@hidden>
  • Date: Mon, 20 Mar 2006 13:15:43 -0800

On Mar 20, 2006, at 1:12 PM, Doug Andrews wrote:

We use XCode to develop our WebObjects application.
Recently, we've gotten the following error when trying to compile.

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError
...failed JavaCompile.default <CompileJava>_WOServerCircWeb.tmp ...

I can't figure this out.
When i try to compile with the command line using javac, i get the same error.

What are you doing, compiling MSWindows? ;-)


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?

Double click on the App Server target in Xcode and click on the Expert View of the Settings group. The option is called JAVA_COMPILER_FLAGS.



sacha


-- Sacha Michel Mallais Mojo Worker Global Village Consulting Inc. http://www.global-village.net/ PGP Key ID: 7D757B65 AIM: smallais A day without sunshine is like night.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >OutOfMemoryError during compile (From: Doug Andrews <email@hidden>)

  • Prev by Date: Re: OutOfMemoryError during compile
  • Next by Date: Re: OutOfMemoryError during compile
  • Previous by thread: Re: OutOfMemoryError during compile
  • Next by thread: setting up apache FOP
  • Index(es):
    • Date
    • Thread