Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
d8eeba98
Commit
d8eeba98
authored
May 28, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add JAVA_OPTS advice to some docs
parent
3d9da643
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
README.adoc
README.adoc
+4
-1
using-spring-boot.adoc
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
+11
-2
No files found.
README.adoc
View file @
d8eeba98
...
@@ -101,7 +101,10 @@ v3.0.5 or above. You also need JDK 1.7 (although Boot applications can run on Ja
...
@@ -101,7 +101,10 @@ v3.0.5 or above. You also need JDK 1.7 (although Boot applications can run on Ja
----
----
NOTE: You may need to increase the amount of memory available to Maven by setting
NOTE: You may need to increase the amount of memory available to Maven by setting
a `MAVEN_OPTS` environment variable with the value `-Xmx512m -XX:MaxPermSize=128m`
a `MAVEN_OPTS` environment variable with the value `-Xmx512m -XX:MaxPermSize=128m`. Remember
to set the corresponding property in your IDE as well if you are building and running
tests there (e.g. in Eclipse go to `Preferences->Java->Installed JREs` and edit the
JRE definition so that all processes are launched with those arguments).
_Also see link:CONTRIBUTING.adoc[CONTRIBUTING.adoc] if you wish to submit pull requests,
_Also see link:CONTRIBUTING.adoc[CONTRIBUTING.adoc] if you wish to submit pull requests,
and in particular please fill out the
and in particular please fill out the
...
...
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
View file @
d8eeba98
...
@@ -555,8 +555,6 @@ This allows you to attach a debugger to your packaged application:
...
@@ -555,8 +555,6 @@ This allows you to attach a debugger to your packaged application:
-jar target/myproject-0.0.1-SNAPSHOT.jar
-jar target/myproject-0.0.1-SNAPSHOT.jar
----
----
[[using-boot-running-with-the-maven-plugin]]
[[using-boot-running-with-the-maven-plugin]]
=== Using the Maven plugin
=== Using the Maven plugin
The Spring Boot Maven plugin includes a `run` goal which can be used to quickly compile
The Spring Boot Maven plugin includes a `run` goal which can be used to quickly compile
...
@@ -568,7 +566,13 @@ resources for instant ``hot'' reload.
...
@@ -568,7 +566,13 @@ resources for instant ``hot'' reload.
$ mvn spring-boot:run
$ mvn spring-boot:run
----
----
Useful operating system environment variable:
```
$ export MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=128M -Djava.security.egd=file:/dev/./urandom
```
(The "egd" setting is to speed up Tomcat startup by giving it a faster source of entropy for session keys.)
[[using-boot-running-with-the-gradle-plugin]]
[[using-boot-running-with-the-gradle-plugin]]
=== Using the Gradle plugin
=== Using the Gradle plugin
...
@@ -581,6 +585,11 @@ the `spring-boot-plugin`
...
@@ -581,6 +585,11 @@ the `spring-boot-plugin`
$ gradle bootRun
$ gradle bootRun
----
----
Useful operating system environment variable:
```
$ export JAVA_OPTS=-Xmx1024m -XX:MaxPermSize=128M -Djava.security.egd=file:/dev/./urandom
```
[[using-boot-hot-swapping]]
[[using-boot-hot-swapping]]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment