• 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 in my Java app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OutOfMemoryError in my Java app


  • Subject: Re: OutOfMemoryError in my Java app
  • From: Greg Guerin <email@hidden>
  • Date: Wed, 1 Nov 2006 18:22:42 -0700

Paul Archibald wrote:

>I wonder if the -X options belong somewhere else. After all, my app does
>not take any arguments itself. And stopping in the debugger at main(), I
>see these options being passed to my app as arguments. Isn't that a bit
>late for setting a memory allocation?

If your Java app is seeing the -X options in its own args, then they're
definitely in the wrong place.

Exactly what kind of Java app is it?

If it's a bundled Java app, then the -X options go in the app's Info.plist.
See:

<http://developer.apple.com/documentation/Java/Conceptual/JavaPropVMInfoRef/Articles/JavaDictionaryInfo.plistKeys.html>

and find "VMOptions" on that page.  It has an example of -Xmx512m.
(Page found by searching ADC Search with keywords: java info plist)

If it's not a bundled app, please describe what it is, and what you have in
the project's Executables group.

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: OutOfMemoryError in my Java app
  • Next by Date: xcode 2.4.1 issue perhaps?
  • Previous by thread: Re: OutOfMemoryError in my Java app
  • Next by thread: Re: OutOfMemoryError in my Java app
  • Index(es):
    • Date
    • Thread