This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
i have two problems / questions about the command line build with CCSv4:
1) Is it possible to do an incremental build from the command line? Currently it always does a rebuild. With CCS 3.3 i could use timake which could do an incremental build. We are using a continuous integration server which does multiple compilations at night, but it takes forever...
2) During the second / third compiler run of our continuous integration server i sometimes get a "java.lang.OutOfMemoryError: Java heap space" message. Other cryptic messages follow:
R/, P/V0, OrderedLock (0),
main : 1, 1,
Worker-3 : 0, 0,
Is this some kind of Eclipse problem? I tried to change the values in eclipse.ini but it did not change anything. Is the eclipse.ini used during a command line build? I tried something like this:
"%CCS4_INSTALL_DIR%\ccsv4\eclipse\jre\bin\java" -jar "%CCS4_INSTALL_DIR%\ccsv4\eclipse\startup.jar" -data "%CCS4_WORKSPACE_DIR%" -application com.ti.ccstudio.apps.projectBuild -ccs.projects V0 -ccs.configuration %1 -vmargs -Xms512m -Xmx1536m -XX:MaxPermSize=256m
But i still have the same problem. :/
Does anyone have an idea what is happening here?
Best regards
Simon
Hi Simon,
Simon Kraemer said:1) Is it possible to do an incremental build from the command line? Currently it always does a rebuild. With CCS 3.3 i could use timake which could do an incremental build. We are using a continuous integration server which does multiple compilations at night, but it takes forever...
The v4 command line build *should* be an incremental one. At least I see that in my environment. But you are not the only one who has complained that it always rebuilds. I could never reproduce this. A reproducible test case would be very helpful for us.
Simon Kraemer said:2) During the second / third compiler run of our continuous integration server i sometimes get a "java.lang.OutOfMemoryError: Java heap space" message.
Just to confirm, this is happening during the command line build, correct?
Thanks
ki
Ki-Soo Lee said:The v4 command line build *should* be an incremental one. At least I see that in my environment. But you are not the only one who has complained that it always rebuilds. I could never reproduce this. A reproducible test case would be very helpful for us.
Hm, i created a small example project, but with this project everything works fine...
Ki-Soo Lee said:Just to confirm, this is happening during the command line build, correct?
Yes, this is happening only during the command line build.
I'd like to bump this thread. I'm running into the same issue; we're building our project from the command line and we see occasional "java.lang.OutOfMemoryError: Java heap space" errors that kill the build. Our command-line build is used as part of an autobuild process that's run every time any developer checks in, so receiving these errors and failing a build on a somewhat regular basis is not acceptable.
Any assistance is greatly appreciated!
Thanks, Jeff