2011年1月22日 星期六

solving java heap space for antlrworks in mac

the cache default is 99M, but i need more. according to the website, just open antlrworks for mac bundle, and open Info.plist file using Property List Editor.

you will see the Infomation Property List -> Java, and just add new record with VMOptions as the Key and -Xmx512M as Value, save it. Enjoy it.

 

antlrworks在mac的預設cache大小為99,根據網站有人提供的作法,只要加個東東就ok了。將antlrworks用在mac平台的套件用右鍵選打開套件來打開,接著在選裡面的Info.plist,然後在java目錄中加上一筆設定,標頭打上VMOptions,數值打上-Xmx512M即可。

沒有留言:

張貼留言