[antlr-interest] ANTLRWorks - memory settings on OS X

Cid Dennis cid at kynetx.com
Mon Jul 26 11:17:07 PDT 2010


Just right click on the application in the application folder and select show package contents then
Navigate to Contents and open Info.plist 

Then add this inside the Java Key.  (Example Attached)

	VMOptions = -Xms256m -Xmx1024m -XX:MaxPermSize=250m



------------------------------------------
Cid Dennis
ph : 303 915 9381
em: cid at kynetx.com




On Jul 26, 2010, at 10:55 AM, Nathan Eloe wrote:

> On 7/26/10 11:49 AM, Bill Andersen wrote:
>> Hi Folks
>> 
>> Can someone remind me again how to do memory settings for ANTLRWorks on OS X.  Can't seem to find on the web but I know it's common to do this.
>> 
>> Right now I have the default of 64M of heap (which I think is what the number in the lower-right corner means)
> 
> I wasn't able to find a convenient way to do it either (probably
> something in a plist somewhere, but I'm never sure.
> 
> The workaround I've been using is the following:
> 
> $ cd /Applications/ANTLRWorks.app/Contents/Resources/Java/
> $ java -Xmx1024m -jar antlrworks.jar
> 
> I might be able to look into this more today (I have a few ideas about
> where to look), but when I needed more memory, I was too busy to find
> the "right" way to do it, so thus this quick and dirty fix.
> 
> Nathan
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list