标签:OLE scene dep stc netbeans space tor perm put
When run test file in netbean.
all dependency and resource are right, but it raise up
java.lang.OutOfMemoryError: Java heap space
at LUX_API_ArticleTest.testComputeEolObsolesceneRisk(LUX_API_ArticleTest.java:505)
solution1: change netbean conf file , increase start heap size and maximum heap size.
C:\Program Files\netbeans\etc\netbean.conf
–J-Xmx64m maximum heap size
-J-Xms64m start heap size
Solution2: modify maven mvn.bat configuration file in bin directory of maven home
set MAVEN_OPTS=-Xms256m -Xmx768m -XX:PermSize=128m -XX:MaxPermSize=256M
netbean out of memory java heap space
标签:OLE scene dep stc netbeans space tor perm put
原文地址:https://www.cnblogs.com/daniel123/p/11925443.html