Skip to content

remove default memory setting#285

Open
jxwuyi wants to merge 4 commits into
masterfrom
fix-windows-iblog-bash
Open

remove default memory setting#285
jxwuyi wants to merge 4 commits into
masterfrom
fix-windows-iblog-bash

Conversation

@jxwuyi

@jxwuyi jxwuyi commented Jul 15, 2014

Copy link
Copy Markdown
Contributor

@datang1992 @lileicc

currently in the new version, there is no memory setting by default.

@lileicc

lileicc commented Jul 15, 2014

Copy link
Copy Markdown
Contributor

@jxwuyi, @datang1992
is it possible to set JVM options on commandline?

@lileicc

lileicc commented Jul 22, 2014

Copy link
Copy Markdown
Contributor

@datang1992
Please double check if you are able to run it with additional JVM options from commandline.

@jxwuyi

jxwuyi commented Jul 22, 2014

Copy link
Copy Markdown
Contributor Author

@datang1992
You could test it using the option -J<-opts>
<-opts> is the original option you would like to add in the Java command line

@datang1992

Copy link
Copy Markdown
Contributor

@jxwuyi @lileicc Do you mean that I should run something like "iblog -J-Xmx1024M"?

I could run this command, but it seems that it could be executed even if the <-opts> is an invalid command. For example, "iblog -J-asdasdwdqw".

@jxwuyi

jxwuyi commented Jul 22, 2014

Copy link
Copy Markdown
Contributor Author

@datang1992 Well, -J is a scala option which means to take the following option to be the java option. I am not sure if scala does some checking for this. You might have a try.

@datang1992

Copy link
Copy Markdown
Contributor

@lileicc @jxwuyi Now iblog.bat works when the memory settings is the first parameter. Do you thinks we need to make a modification to make sure it works for the other parameters?

@datang1992

Copy link
Copy Markdown
Contributor

@lileicc @jxwuyi Finished modifying the document.

@jxwuyi

jxwuyi commented Jul 23, 2014

Copy link
Copy Markdown
Contributor Author

@datang1992
Look at you commits on Github webpage. it seems that there is some problem with your commits. (there is a red crossing for each of your commits). Could you please check it out to see what the problem is?

@datang1992

Copy link
Copy Markdown
Contributor

I just find that your original code doesn't work since that the memory won't be set exactly in Windows if you just type iblog -J-Xmx*** in your original version. But it works on Linux/Mac. I don't know the reason. But I tried on my laptop that writing in this way will work.

@datang1992

Copy link
Copy Markdown
Contributor

If you think there is something wrong with the pull request, I could create a new pull request from master and add the two modifications in the request. @jxwuyi

@chrisgioia64

Copy link
Copy Markdown
Contributor

I haven't set up continuous integration correctly as of today, so ignore the red crossings for now.

On Jul 22, 2014, at 7:29 PM, jxwuyi notifications@github.com wrote:

@datang1992
Look at you commits on Github webpage. it seems that there is some problem with your commits. (there is a red crossing for each of your commits). Could you please check it out to see what the problem is?


Reply to this email directly or view it on GitHub.

@jxwuyi

jxwuyi commented Jul 23, 2014

Copy link
Copy Markdown
Contributor Author

@chrisgioia64 What caused this crossing?
@datang1992 I am very curious why the old version does not work. The new version seems to do the same thing as before. Could you please do some research to see what's the difference?

@datang1992

Copy link
Copy Markdown
Contributor

I could try do find out the reason. Could you have a try for both of the versions and try to see that if it is the case that the original one fails while the new one works? @jxwuyi

@chrisgioia64

Copy link
Copy Markdown
Contributor

@jxwuyi
When I properly set up the continuous integration, the red crossings at
this page are supposed to indicate that there is a failure with running the
tests.
#285

For more information, refer to this issue:
#288

You can see the stack trace for one of the commits here:
https://travis-ci.org/BayesianLogic/blog/builds/30608315

Basically, it clones the repo, does some preprocessing, and runs a few test
scripts.

Do either of you understand how sbt/sbt test works? I don't know what tests
sbt/sbt test does, and how the sbt-launch.jar is created?

On Tue, Jul 22, 2014 at 9:48 PM, jxwuyi notifications@github.com wrote:

@chrisgioia64 https://github.com/chrisgioia64 What caused this crossing?
@datang1992 https://github.com/datang1992 I am very curious why the old
version does not work. The new version seems to do the same thing as
before. Could you please do some research to see what's the difference?


Reply to this email directly or view it on GitHub
#285 (comment).

@jxwuyi

jxwuyi commented Jul 23, 2014

Copy link
Copy Markdown
Contributor Author

@datang1992 Sure I will check it out tmmr.
@lileicc Could you please have a look at @chrisgioia64 's problem?

@lileicc

lileicc commented Jul 28, 2014

Copy link
Copy Markdown
Contributor

Donot worry about the test for now. Once Chris finished, it will disappear.

Lei

On Tue, Jul 22, 2014 at 11:09 PM, jxwuyi notifications@github.com wrote:

@datang1992 https://github.com/datang1992 Sure I will check it out tmmr.
@lileicc https://github.com/lileicc Could you please have a look at
@chrisgioia64 https://github.com/chrisgioia64 's problem?


Reply to this email directly or view it on GitHub
#285 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants