解决JUnit运行时内存不足问题
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/applicationContext.xml]; nested exception is java.lang.OutOfMemoryError: Java heap space
1.Added a new Run configuration under JUnit (Run>Run configuration>JUnit>New)
2.Within the arguments tab set VM arguments to "-Xms64m -Xmx256m" or higher if needs be
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/applicationContext.xml]; nested exception is java.lang.OutOfMemoryError: Java heap space
1.Added a new Run configuration under JUnit (Run>Run configuration>JUnit>New)
2.Within the arguments tab set VM arguments to "-Xms64m -Xmx256m" or higher if needs be