Building Maia 90.94 from src?

This is a question on how to get Maia to build from src from within the IDE itself. I have built on the command line with Ant.

I am on Mac OSX 10.5.7,


java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)

I was able to build successfully with ant (1.7.0) to get the IDE to load I had to create an idea.vmoptions file that contained

-Xms320m
-Xmx6144m
-XX:MaxPermSize=512m
-ea
-server

These memory settings could be a little bit lower, I just picked something that worked.

But now when I try to build via the IDE (make project) I still get out of memory errors in the build window.

How can I increase the memory available for the build? The IDE itself is not out of memory

2 comments
Comment actions Permalink

Setting memory optios here should do the job:
   IDE-Settings->Compiler->Java Compiler->Maximum heap size / Additional command line parameters

0
Comment actions Permalink

Setting the max memory to 2048 I was able to compile Maia 90.94 from within Maia 90.94. Setting probably could be reduced.

File -> Settings -> Project Settings -> Compiler -> Java Compiler [ Maximum heap size (MB) ] == 2048 this is on a mac

The run and debug targets work just fine. I can step through from Splash.java to IdeaApplication.java with no problems.



Attachment(s):
screen-capture-12.png
0

Please sign in to leave a comment.