Skip to content

Commit

Permalink
Add Troubleshooting (#447)
Browse files Browse the repository at this point in the history
* Add Troubleshooting

* Update README.md
  • Loading branch information
thibault0712 authored Jun 14, 2023
1 parent 6e2c44f commit 3450e9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ independent code lives in [vs-core](https://github.com/ValkyrienSkies/vs-core).

### Running Forge in dev environment
Occasionally forge will break in strange ways. When this occurs, delete all the `build` folders, delete the `.gradle` folder of the `forge` project, and then refresh gradle.

### Change JVM arguments for small computers
`Error occurred during initialization of VM
Could not reserve enough space for 4194304KB object heap`
For patch the problem go to gradle.properties and change `org.gradle.jvmargs=-Xmx4096M` to `org.gradle.jvmargs=-Xmx1024` or `org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=1G` to `org.gradle.jvmargs=-Xmx1G -XX:MaxMetaspaceSize=1G`

0 comments on commit 3450e9e

Please sign in to comment.