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 in my Java app



On 29/10/06, Paul Archibald <email@hidden> wrote:
Can I set up my Xcode project to force the JVM to allocate more
memory for my app?

In the 'Arguments' tab of the info dialog for the executable, you should be able to add the following command-line switches -Xms and -Xmx to control the initial and maximum heap size.

See the man page for java(1) for details on how to set them, but it
should go something like: -Xms6M -Xmx128M

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

This email sent to email@hidden
References: 
 >OutOfMemoryError in my Java app (From: Paul Archibald <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.