For Jvm Arguments, how to set -Xmx768M -XX MaxPermSize 256m for the gradle task jettyRun ?


0 votes
asked Mar 5, 2016 by Qb9434 (1,860 points)
Thanks a lot for any help. When I run gradle task jettyRun, it will report OutOfMemoryError since there are lot of Java code and logic uses lot of memory. I am just trying to figure out why and how I could fix this

3 Answers

0 votes
answered Mar 29, 2016 by these_arceo (870 points)
We were facing this same problem and have solved it in the following manner. I have take the question from Android Studio Gradle project Unable to start the daemon ... because I have the same problem
–1 vote
answered Apr 1, 2016 by Nyland_s (480 points)
Just a thought but what if you worked this problem from the opposite direction
commented Apr 2, 2016 by dudasik (840 points)
We had a weird case of this that I just fixed in a solution
0 votes
answered Apr 27, 2016 by Ehrlich (180 points)
See this example for more details

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...